Paypal redirect problem within widget iframe

Post here if you cannot find a better category
Post Reply
Posts: 1
Joined: Fri Jun 14, 2013 3:56 pm

Hi, I have set up a widget of the booking page on a website. The widget is an iframe, and because when you confirm the booking to pay with paypal you get redirected, an error is thrown. This is because browser security tries to prevent you redirecting within an iframe.
You can get around this by having the link to "Continue to Payment" look something like this:
<a href="javascript:parent.window.location.href=' ... ">Continue to Payment</a>
This will redirect you within the main parent page, rather than the iframe.

However I can't edit the code for the booking page so can't fix this problem. Any ideas?

Posts: 24
Joined: Fri Mar 02, 2012 1:48 pm

If Beds24 is used within an Iframe it cannot redirect the user to PayPal due to the security settings in browsers. To fix you can allow the the paypal page to open in a new window. Go to SETTINGS -> BOOKING PAGE -> ADVANCED and set Open in new Window to "On Paypal".
Post Reply