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.
... View more