I'm working on integrating PayPal APIs with our system. After calling /v3/vault/setup-tokens API, we get a URL that will be used to redirect the user so he can approve the later payments from our side without his interaction. When we redirect the user to such URL (ex. https://sandbox.paypal.com/agreements/approve?approval_session_id=6JF99536NV246270X) it sometimes shows an error saying "Sorry, something went wrong. Please try again." The error page URL looks like this https://sandbox.paypal.com/checkoutweb/genericError?code=REVGQVVMVA%3D%3D&country.x=US&locale.x=en_US&ssrt=1723046196399 . This doesn't happen all the time. Sometimes it works and sometimes gives that error especially when the user is not logged in to PayPal sandbox and he needs to log in. After logging in, it shows that error. Any idea of what can be wrong, please?
... View more