image

image
image
image

image


Welcome to the BCES™ Button Code Example Site

The BCES™ Button Code Example Site is independently managed and maintained.   Content, opinions and/or statements expressed on this site does not necessarily represent those of PayPal or any other company/organization.   This site is a work in progress and subject to change without notice.

Hopefully, you will find some clues to your questions concerning the use PayPal's Website Payments Standard Item Button Button Coding Methods.

All the examples provided here are manually coded "clear text" meaning they are not "hosted" or "encrypted".   WHY?

Most people new to PayPal will opt to use the Online Button Creator to build their item button code.   The online button creator generates "hosted" item button code by default, has an item inventory feature and limits you to a maximum of 1,000 saved item code buttons.   In addition specific variables are stored on PayPal's Servers which in turn provides tamper proof protection.   It's important to understand that you cannot edit or modify "hosted" item button code after it has been created.   To make changes to the code requires you to go back to your PayPal Account and edit your saved button.

The use of "clear text" has many advantages as it is more flexible.   Listed below are a few reasons for customization.

  • You want to use java scripts.
  • You want to pre-populate the PayPal Screens.
  • You need to dynamically change specific variables such as the "amount" value.
  • Need to create a lot of similar buttons using copy and paste.
  • Need more that a 1,000 saved item code buttons.
  • Require more than 10 text input boxes for Add to Cart Buttons.
  • Require more than 2 text input boxes for Buy Now Buttons.
  • Need quantity input or quantity selection options on your web page.
  • Need amount input or amount selection options on your web page.
  • Need check boxes.
  • Need radio buttons.
  • Need to customize Subscription Buttons.
  • Need to customize Donation Buttons, i.e., add additional text input boxes, check boxes or radio buttons.
  • Need a Text/Email or Hyperlink.
  • Need to setup button templates.
You can use the Online Button Creator to generate Clear Text if so desired and to save a little coding time.   Here's how:  First, start with a new item button.   What you need to do is "uncheck" the option for "Save Button At PayPal" in Step 2.   Then after you "Create" the button code, in the window that displays the code look for the link that says "Remove Code Protection".   Select this link.   Your code will be changed to clear text and is now ready for additional customization.

To generate a Text/Email link, after generating the button code online, select the "Email" tab to view the Text Link Code.   Note, the "Email" tab will not be available if have included dropdown selections or text boxes in your item button code.   This is because you cannot include dropdown selections or text boxes in a Text or Hyperlink.

To learn more about PayPal's Website Payments Standard's Features, download a copy of PayPal's Website Payments Standard Integration Guide from here.   This is a great desktop resource to keep at your side.

As with any code and computers, there is always more than one way to accomplish a task.   The Button Code Examples shown here are intended "only" to give you an idea of what can be done.

Feel free to copy the example code and tinker with it to suit your needs.   Best of luck with your online project!

Many thanks to all the great Developers who support the Developer Community Forum, the Online Merchant Network and to those of you who provide snippets of code from time to time.

And thank you to our host, JK Quilting, for providing server space to host the Button Code Example Site.   JK Quilting offers some very unique and one of a kind handmade items.   Please visit JK Quilting!



Ed Keim
Online Merchant Network Super Contributor


Contact:  ek@jkquilting.com






Disclaimer Policy:

Any content on the BCES™ Button Code Example Site is provided "as is" without warranty of any kind.   Accordingly, BCES™, it's creator, distributor, support staff, family, relatives, friends, strangers or pets does not guarantee the accuracy, integrity, or quality of such content on the Site.   Under no circumstances will BCES™ be liable to you in any way for any content, including, but not limited to, any errors or omissions in any content, or any loss or damage of any kind incurred as a result of the use of any content posted, emailed, transmitted or otherwise stored on the Site.   You are hereby notified and do hereby agree to indemnify, save and hold BCES™, it's Creator and Host Site harmless from and against any and all loss, claims of loss, injury or damage of any kind.   This includes, without limitation, those occasioned by or arising from material found upon this site.   Content/opinions expressed on this site do not necessarily represent those of PayPal or any other company/organization.   This site is subject to change without notice.   All other products and company names are trademarks of their respective companies and/or corporations.   By visiting BCES™ and/or any of their associated web sites including this one, you are accepting the terms and conditions described in this Policy and agree to use the Site at your own risk.

If you agree with this policy, feel free to continue by clicking on the button below.





image
Thank You for supporting BCES™!