Navigation to PayPal from hosted payment frame blocked in Chrome and Edge v102
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since release of Chrome/Edge version 102 customers have been unable to use the Pay with PayPal button provided by Website Payment Pro Hosted solution in Magento. Clicking the button is blocked and customer receives a redirection blocked warning. Browser logs Unsafe attempt to initiate navigation for frame with origin... The frame attempting navigation is targeting its top-level window, but neither same-origin with its target nor has it received a user gesture.
This is apparently a Chromuim feature that has been in the making for many years and has been pulled and reworked several times. They clearly still haven't got it right as clicking the Pay with PayPal button in the hosted frame delivered by PayPal is about as positive a user gesture as you can get.
Only apparent way to solve this from the website perspective is to include the sandbox attribute on the iframe. But even with all restrictions disabled that then breaks 3DS processing so customers can no longer pay by card.
No response from PayPal tech support to ticket raised. For now all we can do is warn customers that latest Edge/Chrome breaks PayPal hosted payments and advise they enable enable pop-ups/redirection before trying to use PayPal, use another browser or a different payment method. Not ideal!
Anyone else come across this and have a solution we can implement as we cannot expect anything swiftly from PayPal, Google or Microsoft.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have the same issue here. It happens on chrome and edge on desktops as well as chrome on the android.
I just raised the same issue here https://www.paypal-community.com/t5/PayPal-Payments-Standard/Edge-and-Chrome-blocking-iframe-redirec...

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to add a second parameter onto the PayPal standard payment code block? in PayPal Payments Standard
- Is OTP related to ''encrypted data'' terminology? in PayPal Payments Standard
- Paypal blocked domain for IPN in Sandbox Environment
- Paypal not loading / error only debuging in PayPal Reporting
- Content Security Policy - Directives to enable PayPal checkout in PayPal Payments Standard