Integration Guide

Table Of Contents
Contribution Payments – Donate Buttons
Creating Advanced Donate Buttons on the PayPal Website
2
96 September 2008 Website Payments Standard Integration Guide
Copying and Pasting the HTML Code for the Donate Button. The Website tab on the
You are viewing your button code page contains the generated HTML code for your Donate
payment button.
If in “Step 2 – Saving Your Donate Button in Your PayPal Account” on page 92 you specified
that you do not want to save your button in your Paypal account, PayPal protects the generated
HTML button code with encryption. Protected HTML code helps secure your buttons against
malicious tampering and fraudulent payments.
You can the expose the code of your payment button by clicking the Remove code protection
link at the upper right of text box. For example, you might remove protection so that you can
edit the code later to change the item price. If you remove code protection, you must use other
methods that PayPal recommends to secure your payment button. Click the Protect code link
to restore the button protection that you removed.
IMPORTANT: Merchants with significant payment volume are required to take precautions
on securing Website Payment Standard buttons. For more information,
Chapter 6, “Securing Your Website Payments Standard Buttons.”
To copy and paste the HTML code for your Donate payment button:
1. Click the Select Code button on the Websites tab to select all of the generated HTML
code.
2. Copy the text that you selected to the clipboard, by:
pressing Ctrl+C.
– or –
right-clicking your mouse, and selecting Copy.
3. In your web editing tool, open the webpage where you want the button to be seen.
IMPORTANT: Be sure that your tool is ready for you to paste HTML code, such as by
switching to an HTML view from a design view of your webpage.
4. Paste the text that you copied from the clipboard onto your webpage where you want the
button to appear, by:
pressing Ctrl+V.
– or –
right-clicking your mouse, and selecting Paste.
Copying and Pasting the Code for the Donate Email Payment Link. The Email tab on
the You are viewing your button code page contains the generated URL code for your
Donate email payment link.
N OTE: PayPal cannot protect the URL code for email payment links. Secure the payments you
receive from email payment links by using an alternative method that does not involve
encryption, as described in Chapter 6, “Securing Your Website Payments Standard
Buttons.”
To copy and paste the URL code for your Donate email payment link: