Blog

When a product is passed into 2Checkout’s purchase routine using our Plug and Play parameter set, the customer has the ability to edit their product quantity and navigate back to the supplier’s website using the continue shopping button. These options are great for someone selling many different products, but can get confusing when a single product is being sold or a script is passing in products using our Plug and Play parameter set. To help correct the confusion, 2Checkout has implemented the fixed parameter to lock the quantity fields in the purchase routine and remove the continue shopping button. This way, you will not have to worry about the duplicate product purchases that can lead to confusion and even sale abandonment.

Implementing this parameter is as easy as passing in the “fixed” parameter
with a value of “Y”. (Please note that this value is case sensitive and must be in uppercase.)

Example URL with “fixed” implemented:

https://www.2checkout.com/checkout/purchase?quantity=1&product_id=10&sid=11&fixed=Y

Example HTML form with “fixed” implemented:

<form action="https://www.2checkout.com/checkout/purchase" method="post">
<input type="hidden" name="sid" value="11" />
<input type="hidden" name="product_id1" value="9" />
<input type="hidden" name="quantity1" value="1" />
<input type="hidden" name="product_id2" value="10" />
<input type="hidden" name="quantity2" value="1" />
<input type="hidden" name="fixed" value="Y" />
<input name="submit" type="submit" value="Buy from 2CO" />
</form>

Important Note: When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied.

Publicado en Basic Integration

Etiquetado , ,