Integration Guide

Table Of Contents
Contribution Payments – Donate Buttons
Sample HTML Code for Donate Buttons
2
104 September 2008 Website Payments Standard Integration Guide
2. Copy the text that you selected to the clipboard, by:
pressing Ctrl+C.
– or –
right-clicking your mouse, and selecting Copy.
3. Open the email template or message that you want to send.
4. Paste the text that you copied from the clipboard into your email, by:
pressing Ctrl+V.
– or –
right-clicking your mouse, and selecting Paste.
Creating More Donate Buttons With JavaScript Disabled. After you copy and paste the
Donate code, you can create another Donate button for a different contribution purpose or
amount. Scroll to the bottom of the Add a Donate button to your website page and click the
Create Another Button button. Then follow the instructions for “Page 1 – Specifying the
Basic Features of the Donate Button” on page 97, beginning with Step 5. The pages of the
button creation tool retain the options that you previously specified.
Avoiding Problems With Pasted HTML Code
After you paste the code onto your webpage or into your email, ensure that it matches exactly
the code that you copied from PayPal. Pasted code may not match the generated code for the
following reasons:
z You did not copy all of the generated code.
z Your editing tool may have special areas for pasting HTML code and other areas for
pasting URLs and display text. Be sure you paste the generated code into a field that
accepts HTML code or URLs.
z Your editing tool might change some characters in the pasted code.
Sample HTML Code for Donate Buttons
The sample HTML code in this section demonstrates various features of Buy Now buttons:
z “Sample HTML Code for a Basic Donate Button” on page 105
z “Sample HTML Code for a Donate Button With a Fixed Contribution Amount” on
page 105
To protect against malicious users tampering with the HTML code for your Donate buttons
and submitting fraudulent contributions, see Chapter 6, “Securing Your Website Payments
Standard Buttons.”