Hosted iFrame modal window with PayPal Checkout enabled does not display in the embedded iFrame

kschaller79
Contributor
Contributor

I finished development of a Hosted Payment Page using Layout C (Embedded iFrame). The production accounts we have are set up with PayPal Checkout as well as Hosted Payment Pages. In the Hosted Payment Page setup, there is no ability to modify to turn off PayPal Checkout in the Hosted Payment form. This seems incorrect.

 

I did some research and saw that you can set a sandbox='allow-top-navigation' in your iframe attribute, but this is useless to me, our requirements are *NOT* to send the user to another page, it all must be done on the same site. It does not display the PayPal Checkout within the same embedded iFrame when the button is clicked. I could not find any documentation for this problem on PayPal - anybody else encounter this issue?

 

Either they need to give the ability to turn PayPal Checkout off in hosted payments or provide a solution to create another iframe or modal window or somehow embed in the existing iframe. I know that is difficult due to CORS to redirect the URL in the same iFrame. Or not allow PayPal Checkout to display on a Layout C embedded iframe.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.