Checkout-completion/redirect sends customer to shop.app/pay/remember-me (400) after PayPay payment in app webview

Hi Shopify Support team,

We are seeing unexpected behavior after a PayPay payment on our store and would like to understand whether it is intended, and if it can be turned off.

Payment method: PayPay via SBPS (SoftBank Payment Service) offsite payment app

Steps to reproduce

  1. Customer goes to checkout in the mobile browser and selects PayPay, then Pay
  2. Customer is sent to the PayPay app and completes the payment.
  3. After payment, the PayPay app opens a webview. SBPS redirects back to Shopify:
    /checkouts/sessions/checkout-completion/redirect?_t=…

Observed behavior

  • 1st request to checkout-completion/redirect: Shopify returns a 302 redirect to https://shop.app/pay/remember-me?client_id=...&state=… and that page returns a 400 error in the PayPay webview.
  • 2nd request to the same checkout-completion/redirect URL right after: the customer is redirected correctly to /checkouts/cn/{token}/ja-jp/processing?completed=true and then to the Thank you page.
  • About 3 minutes later, opening the same checkout-completion/redirect URL again redirects to shop.app/pay/remember-me again.

Expected behavior

After a successful payment, checkout-completion/redirect should always send the customer to the processing / Thank you page, without going through shop.app/pay/remember-me.

Questions

  1. Is the redirect to shop.app/pay/remember-me on checkout-completion/redirect intended behavior? Under what conditions is it triggered?
  2. Why does the 1st request go to remember-me while an immediate 2nd request goes to processing? Is there a session or cookie set by the 1st request that expires after a few minutes?
  3. Is there a store setting or checkout parameter to disable the Shop Pay remember-me step for this flow (or for all checkouts)?
  4. If it cannot be disabled, what is the recommended way to handle this when the return URL opens in a third-party app webview (PayPay), where shop.app returns 400?

Thank you for your help.

Hi @vy_duong1, this appears to be the same issue as your earlier thread. To keep the context in one place, could you add the new questions to that thread?
Closing this thread as duplicate.