SmartPayment's JS SDK must be initialised on the merchant's redirectUrl page. To initialise the environment, pp.init is called, so pp.init must be performed on the page where the JSSDK is used. Concretely, the flow is as follows, but at this time, if you use a different browser (including secret mode) in 1 and 3, the verify codeVerifier is failed error etc. will occur in pp.init of 3 and you will fail. This is implemented to prevent PKCE.
- pp.init
- fail
- PayPay app transition
- Authentication
- Merchant site redirect
- pp.init
Please take the above into account in your implementation.