Generate Website Template Paypal Forms

Generating Paypal Button Code to Replace the Template Code


Replacing the Template Paypal Form Code


If you require newer button code, or more options in your Paypal forms, you can use code generated (created) in your Paypal account to add to your template pages. Check under "Merchant Services" in your Paypal account.

Support for generating buttons is provided by Paypal. Please check in your Paypal account if you have any problems with their button creators.


Template Paypal code example:
The following code is included in most Allwebco templates. In most cases this code can simply be edited with your information to setup to receive payments on your website.

<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">
<input type="submit" value="Purchase" onmouseover="this.className='buttonon-order'" onmouseout="this.className='button-order'" class="button-order">


Generated Paypal code example:
The following example code can be generated (created) in your Paypal account under "Merchant Services" to replace your template Paypal code. (Do not use the code from this page for your form.)

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="000000">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>



Using your generated code with the template button style:
Many Allwebco templates include custom "input" buttons. In this case you may want to keep the original button "input" line and not use the created "input" line. You can remove all the template form code, but maintain the "input" type="image" or type="submit" line in the form code. Then paste in your generated code and remove the "input type="image"" from the created code. See highlighted lines of code above in the 2 examples.


Is the template code outdated?:
No. The code used in Allwebco templates is code used on millions of websites around the world. Although Paypal is changing the way their code is added to websites, it would be unlikely that they would disallow older code due to the millions of websites that still use the older code.


Advantages of generated code:
  1. If you generate your code in your Paypal account you can keep track of all your buttons and also make changes to your items for sale in your Paypal account, rather than editing HTML pages.
  2. This includes editing prices, return pages, item names, shipping and so on.
  3. You can add more types of options to your Paypal forms like, item size options and price changing options, however, you can add many options to the template forms.


Advantages of template code:
  1. Editing your "saved buttons" in Paypal can be confusing. Editing the template HTML forms may be easier in many cases.
  2. If you generate your buttons you will still need to paste the code into HTML pages.
  3. With the template code, you will not need to go back and forth between your Paypal account and website pages testing the forms.
  4. At the time of this writing, the template forms allow more shipping options.
  5. With template forms you can easily view what each item is on your HTML page. There is less of a chance of having the wrong button for the wrong item.




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


Links:
PayPal


Allwebco Template Support


Allwebco Website Template Support


See Also...
Paypal Setup
Add Shipping
Adding Options
Change Currency
Setup Sales Tax
Created Buttons
Custom / Donations
Paypal "Type 2"



Allwebco Paypal Templates
Websites with built in Paypal shopping cart.
AllwebcoDesign.com
Website Templates
Merchant Account?
Open a Paypal merchant account.
www.Paypal.com
Web Template Support
Garden Cart Templates
Easy setup templates with Paypal carts.
AllwebcoDesign.com
Website Templates
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com


Click here to open a new or upgrade to a Paypal merchant account



Website Template Support
Website Template Support