Website Template Paypal Setup
Paypal Order Form / Cart Setup
Paypal forms are included in many Allwebco templates. The form setup information below is for single item purchase buttons, however the code below applies to both Paypal single order, and also to cart form setup. You can generate shopping cart code in your Paypal account if it is not included in your template. Login to your Paypal account and check under "Merchant Services".
Set up a PayPal merchant account.
STEP #2: Check what type of Paypal forms your template has:
Check the top of your template "help.html". If it has a note that says "Paypal Type 2 Forms" then your template has "Type 2" forms. See the Type 2 Paypal Order Form Setup support page.
If your "help.html" does not indicate "Paypal Type 2" do step #3 below.
Converting to "Type 2":
If you want to convert your template forms to "Paypal type 2" see the "Generating Paypal Button Code to Replace the Template Code" support page. It is not necessary to convert your forms, however, converting them will allow your template to use the latest code for Paypal forms on your website. If you do convert to "Type 2", you do not need to review any information below.
"Type 2 forms" is a term created and used for Allwebco templates and is not a term used by Paypal.
Check your template "help.html" for details on setting up the Paypal cart pages.
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 to Replace the Template Code" support page.
Editing the forms:
Replace the following code with your code provided by Paypal (items to replace are in red). After editing, test the button in the HTML page to see that it works properly. Be sure to upload the template "thanks-payment.htm".
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="firstname.lastname@example.org">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="item_name" value="Item1-1">
<input type="hidden" name="amount" value="35.00">
<input type="hidden" name="shipping" value="2.99">
<input type="hidden" name="custom" value="">
<input type="hidden" name="return" value="http://your-web-domain.com/thanks-payment.htm">
The shipping line above may not be included in your template forms. To add shipping see the "Adding Paypal Shipping" support page.
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.
Adding a selection or option to a paypal form
Adding shipping to a paypal form