Page 1 of 1

Paypal and Inline frame

Posted: Mon Feb 02, 2026 8:45 pm
by Rodders
I am building a small site where there is a need for 4 different pricing options as well as the need for capturing specific text data. So I created the simple Paypal cart and as a standalone it works okay. However there are 4 different options for the cart and I've built it so that they appear within an inline frame which works nicely, until you go to check out and then it opens Paypal within the inline frame, but i'd really prefer it to open in a new window. In additionthere is a statement on the Paypal front page that says cancel & return to info@driveandjive.uk, which obviously isn't a URL. Can I configure it so that Paypal opens in a seperate window please?
The full site is on www.styleprint.biz and the wbs file for just the relevant pages/forms is shown at the top of the page. Any pointers would be great
Created in WYSIWIG 20
Thanks
Nick

Re: Paypal and Inline frame

Posted: Mon Feb 02, 2026 10:10 pm
by BaconFries
You can try adding target="_blank" as shown in the example below. It is also good practice to also include rel="noopener noreferrer" As this will prevent the "New" window trying to access the original page.
As for the email address that will be the address of the business/paypal account

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
    <!-- Your items/amount fields -->
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="upload" value="1">
    <input type="hidden" name="business" value="seller@example.com">
    <!-- ... other fields ... -->
    <input type="submit" value="Pay with PayPal">
</form>

Re: Paypal and Inline frame

Posted: Tue Feb 03, 2026 11:44 am
by Rodders
Cheers I'll give it a go. Just weird that it refers to returning to an email address as that will never work!