Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 103
Contribution Payments – Donate Buttons
Creating Advanced Donate Buttons on the PayPal Website
2
6. If you want to change any of the details that you entered on the previous page, click the
Edit button and follow the instructions for “Page 1 – Specifying the Basic Features of the
Donate Button” on page 97, beginning with Step 5.
– or –
If you have entered all the details and options for your button, go to “Copying and Pasting
the Donate Code With JavaScript Disabled” on page 103.
Copying and Pasting the Donate Code With JavaScript Disabled
After you enter the basic and advanced features that you want for your Donate button, click the
Create Button Now button. PayPal generates Donate code for:
z a payment button, which you can paste onto your website
z an email payment link, which you can paste into email
The Add a Donate button to your website page displays the generated code.
Copying and Pasting the HTML Code for the Donate Button With JavaScript
Disabled. To copy and paste the HTML code for the Donate payment button:
1. Click the HTML code for Websites text box 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.
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 With JavaScript
Disabled. PayPal does not generate code for email payment links if you select the Yes radio
button in the Button Encryption section on the first page of the button creation tool. To turn
button encryption off, return to the first page and click the No radio button in the Button
Encryption section. Then click the Create Button Now button again.
N OTE: You cannot use Encrypted Website Payments to encrypt the 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 code for the Donate email payment link:
1. Click the Link for Emails text box to select all of the generated URL code.