Issue for SignUp on native apps - PayPal x 4 (paylater)

kfarttes
Contributor
Contributor

We are encountering issues with PayPal X4 (Pay Later) smart button integration in our native application (same for both Android and iOS), specifically related to the X-Frame-Options and CORS policies. The problems are affecting the user flow during the checkout process.

After the user chooses the PayPal X4 (Pay Later) payment option, the PayPal popup appears. When the user clicks on Sign Up, it leads to errors in the https://www.paypal.com/welcome/flow/gpl request. In the console, we can see the following error message:

 

Refused to display "https:/www.sandbox.paypal.com" in a frame because it set 'X-Frame-Options' to 'sameorigin'

As a result, the popup is frozen with just a white background.

 

Here are the SDK parameters we are using:

sdkParams: { "components": "buttons,messages,funding-eligibility", "enable-funding": "paylater", "disable-funding": "card", "buyer-country": "FR" }

Is there any way to fix this or get around it?
Login to Me Too
1 REPLY 1

Shahid17
Contributor
Contributor
We're having trouble making sure it's you
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.