Using frames with 2Checkout

Due to current credit card regulations, 2Checkout is no longer able to allow the purchase routine to be loaded with in a frame set. By loading our site in a frame, the customer would remain on the suppliers server while navigating though out purchase routine. Because 2Checkout is an authorized reseller and not a payment gateway or payment processor it is required that customers are aware that they are ordering from us at the time of purchase. To correct this the 2CheckOut transaction pages will break out of a frame set if they are loaded inside of one. Attempting to load the 2CheckOut transaction pages within a frame set will prevent them from working as intended and will generate a parameter error. If your site uses frames you may still integrate with 2Checkout by using target=”_blank” to load the 2Checkout purchase routine in a new window.

Example of an HTML form loading in a new window.

<form action='https://www.2checkout.com/checkout/purchase' target='_blank'
method='post'>
<input type='hidden' name='sid' value='123456' >
<input type='hidden' name='product_id' value='101' >
<input type='hidden' name='quantity' value='1' >
<input name='submit' type='submit' value='Buy from 2CO' >
</form>

Example of a purchase link loading in a new window.

<a href="https://www.2checkout.com/checkout/purchase?sid=123456&quantity=1
&product_id=101" mce_href="https://www.2checkout.com/checkout/purchase?sid=123456&
quantity=1&product_id=101" target='_blank'> Test Product </a>

Recent Posts from the Community:

Get Payments

posted by: dspzaman

Referring URL

posted by: hipdev

SPP suggestion

posted by: brakkar

API Beta

posted by: cliff

session destroy

posted by: rojan
More from the community »

Spotlight Supplier

Spotlight Supplier

Feng Shui Products


Popular Tags