I'm running a store with Magento 1.9.0.1.
It's setted up to process payments with Paypal Pro but I have a problem. Everytime I make a payment I don't get redirected to the success page, instead I have on the javascript console this error:
Invalid 'X-Frame-Options' header encountered when loading 'https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess?execution=e1s1': 'ALLOW' is not a recognized directive. The header will be ignored.
I tried everything but I seem not to be able to resolve this problem.
Can anyone help me? Thanks.
Best Answer
The Problem
The problem you encounter is, that Paypal sends a wrong
X-Frame-Options
header.The allowed headers are:
You should contact paypal. But I think many others will have this problem too and hopefully paypal already fixes this.
So what to do?
Check the HTTP Header, if you find the header X-Frame-Options: ALLOW, then they sending a RFC INvalid header, therefore your browser is right, and they are wrong. The bad part is to convince them. What browser do you use?