braintree / braintree-web

A suite of tools for integrating Braintree in the browser
https://developer.paypal.com/braintree/docs/start/hello-client/javascript/v3
MIT License
444 stars 134 forks source link

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

Closed fradev94 closed 4 months ago

fradev94 commented 6 months ago

General information

Issue description

During the last days, in my app and just on some devices, is not possible to complete a PayPal payment because an error occurs: 1) the user clicks on the button to start the payment

ImportedPhoto_1715933444419

2) the user adds the credentials and at the second click on the button to confirm the payment, the page is not loaded

ImportedPhoto_1715933433513

On the logcat I have this specific error: [INFO:CONSOLE(1)] "Refused to display 'https://www.sandbox.paypal.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.", source: chrome-error://chromewebdata/ (1)

How can I solve this issue please?

jplukarski commented 4 months ago

@fradev94 this was a known issue due to a change in how Chrome handles cookies. It looks like it is fixed now. Can you confirm if you are still seeing this issue?

jplukarski commented 4 months ago

Closing due to inactivity. If the issue persists please open a new issue.