Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 97
Contribution Payments – Donate Buttons
Creating Advanced Donate Buttons on the PayPal Website
2
Scroll to the top of the page and click the Step 2 bar if you want to change whether to
save your button in your PayPal account.
Follow the instructions for “Step 2 – Saving Your Donate Button in Your PayPal
Account” on page 94.
Copying and Pasting the Donate Code
After you click the Create Button button, PayPal displays the You are viewing your button
code page. The page contains tabs with Donate code for specific situations:
Website – Copy and paste the HTML button code on this tab onto the pages of your
website.
Email – Copy and paste the URL email payment link code on this tab into email templates
and messages, or paste it onto webpages if your hosting provider does not allow you to
paste HTML code.
Regardless of saving your buttons in your PayPal account, you must copy and paste the code
that PayPal generates onto your own webpages and into email templates and messages.
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 94 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 PayPal Payments Standard buttons.
For more information, see “Securing Your PayPal Payments Standard
Buttons” on page 337.”
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.