Friday, 9 August 2013

Display Forbidden error on PayPal return to Google Drive hosted page

Display Forbidden error on PayPal return to Google Drive hosted page

This is related to Overcoming "Display forbidden by X-Frame-Options" but
the accepted solution there involved a PHP header call.
I'm getting the same error in a context where PHP is not available.
Specifically, I'm trying to implement a PayPal cart on a page served by
Google Drive hosting using minicart.js. I can add and remove items with no
problems, but hitting 'Checkout' hangs and ultimately fails. DevTools
records the following error:
Refused to display
'https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=VeQT5SJ ...
1172' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Has anyone encountered this and solved it?

No comments:

Post a Comment