How To Make Paypal Order Form Setup


You can have your website link to paypal so visitors can purchase items from you. Optional forms or a cart have been created in many of the templates so it's easier to setup. The sample below is for the single item purchase buttons but the code is generally the same in the cart forms. You can get shopping cart HTML code from Paypal if your template does not now have a cart. Login to your Paypal account and check in the developers area.

STEP 1: Set up a PayPal merchant account.

STEP 2: You can do this one of two ways. You can edit the current forms in your template, or, You can get the HTML code you need to setup purchases from the Paypal "Merchant Tools" area. You will need the info between the "<form>" and "</form>" tags from Paypal.

Editing the Forms: Replace the following code with your code from Paypal, or, you can generate the form at Paypal and replace all these lines with your own (items to replace are in red) Be sure to test and see that it works properly. Also, be sure you have the "thanks-payment.htm" uploaded.


<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@your-web-domain.com">
<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 forms. You can add this line if you want. For more details see the shipping support page.

You will find other Paypal setup info on your help.html if Paypal forms have been setup on your template.

NOTE: On some older templates the "
" tag is between the "" and the "" tags. It's best to keep them there so the forms have smaller margins. Newer templates use CSS code for the margins.

The thanks-payment.htm Page:
Every Allwebco template that includes a Paypal cart 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 this page as shown above, they will be returned to your website and to this page. Edit this thanks page with any info you would like.

NOTE: You can generate all the code for a shopping cart at Paypal and add a "view cart" and "checkout" button to your webpages if your template does not now include a Paypal cart.




0 comments:

Post a Comment