Paypal HTML Order Form & Cart Setup

Setting up the Paypal shopping cart HTML form style

Sticky Note Paypal HTML
Paypal HTML forms are the older style of button code, but they're still supported by Paypal. To create the latest style of button code, generate the buttons in your Paypal login. See the help.html included with your template download for the correct support links and info for your template model.

See Instead…

Notes: Paypal forms are included in many Allwebco templates. Form setup information below applies to older HTML code single order and cart buttons. This type of code is still valid and supported by Paypal. To create the latest button code, login to your Paypal account and check under "Tools".

STEP 1.)
Set up a PayPal merchant account.

STEP 2.) Check your type of Paypal forms
Check the top of your template "help.html". If you see a note near the top indicating Paypal Type 2 Forms see Type 2 Paypal Order Form Setup.

If your help.html does not indicate "Paypal Type 2" go to step #3 below.

Converting to "Type 2"
If you want to convert your template forms to "Paypal type 2" see Generating Paypal Button Code. It's not necessary to convert your forms, however, converting them will allow your forms to use the latest code from Paypal.

Type 2 is a term used for Allwebco templates and is not a term used by Paypal.

STEP 3.)
Follow the steps as outlined on your template help.html. Refer to the following for more details.

You can setup the forms one of two ways; You can edit the current Paypal forms as shown below, or you can generate new forms as outlined on the Generating Paypal Button Code support page.

Editing the forms Edit the variables as highlighted below. Test each button after each edit. Make sure your upload, or create, a "thanks-payment.htm" for the return after payment page.

<form action="" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="item_name" value="Enter Item Name">
<input type="hidden" name="amount" value="39.00">
<input type="hidden" name="shipping" value="4.99">
<input type="hidden" name="custom" value="">
<input type="hidden" name="return" value="">
<input type="submit" value="Order Item"><br>

Example add to cart form code:

<form target="paypal" action="" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="">
<input type="hidden" name="item_name" value="Enter Item Name">
<input type="hidden" name="amount" value="39.00">
<input type="hidden" name="shipping" value="4.99">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
<input type="submit" value="Add to Cart"><br>

More Help

The "thanks-payment.htm" page:
Every Allwebco template that includes Paypal forms also includes a "thanks-payment.htm". This is called a "return" page. Once a client sends a payment through your website, if you have properly setup the Paypal forms as shown above, they will be returned to your website and to this page. Edit the "thanks-payment.htm" page with any info you would like.

STEP 4.) View cart buttons
See the Paypal setup info on your template "help.html" to edit the template "view cart" buttons.

View cart text link: Optionally use the following link code (edit with your e-mail) in the html pages for a view cart link.

<a href="">View Cart</a>

Related Topics:
Adding a selection or option to a paypal form
Adding shipping to a paypal form

PayPal Account Setup