How can I allow the customer to put in their own price?

To allow the customer to put in their own price, you can use the following snippet of HTML code. Just paste the code below onto your web site where you would like the form to appear. Please note that the New Cart Purchase Parameters have already been implemented in this example.

<form action=”https://www.2checkout.com/checkout/purchase” method=”post”>
<input type=”hidden” name=”id_type” value=”1″>
<input type=”hidden” name=”c_prod’ value=”xxxxxxx”>
<input type=”hidden” name=”c_name” value=”Sample Product”>
<input type=”hidden” name=”c_description” value=”Sample Product Description”>
<input type=”hidden” name=”c_price” value=”5.00″>
<input type=”hidden” name=”c_tangible” value=”N”>
<input type=”hidden” name=”sid” value=”xxxxxx”>
<input type=”hidden” name=”cart_order_id” value=”1234567890″>
Please Enter The Amount You Would Like To Submit $ <input type=”text” name=”total” value=”5.00″>
<input type=”submit”>
</form>

Note: Be sure to replace the value for SID with your numerical Seller ID number. You can also change cart_order_id to any alphanumeric value that you wish to reference an internal invoice number, item number, auction number or other piece of information. Other values (c_name, c_description, c_price, c_tangible, and total) may be changed at your discretion.

You need to login before leaving a comment If you do not have an account, you can register one here.

Recent Posts from the Community:

API Beta

posted by: cliff
More from the community »

Spotlight Supplier

Spotlight Supplier

Sell Downloads Guide

Spotlight Product

Spotlight Product

Professional Banner Design


Popular Tags