Integration Guide

Table Of Contents
Contribution Payments – Donate Buttons
Creating Advanced Donate Buttons on the PayPal Website
2
96 June 2012 PayPal Payments Standard Integration Guide
3. Take donors to a specific webpage (URL) after checkout cancellation (optional)?
Select the checkbox and enter a URL in the text box if you have a special page on your
website where you want donors to return if they cancel their checkouts before completing
their transactions.
4. Take donors to a specific webpage (URL) after successful checkout (optional)?
Select the checkbox and enter a URL in the text box if you have a special page on your
website where you want donors to return after they complete their checkouts successfully.
NOTE: If you have a special webpage for donors who return to your website after checking
out successfully, consider implementing Payment Data Transfer so that you can
display information about the completed transactions.
To learn more, see the
Payment Data Transfer webpage on PayPal X Developer
Network..
5. Add advanced variables to the HTML code of your payment button (optional).
If you are familiar with the HTML programming and the advanced HTML variables
supported by PayPal Payments Standard payment buttons, you can enter them here. Select
the checkbox, and then enter the variables in the text box that appears below it.
Enter any advanced HTML variables in the following name/value-pair format:
variableName=allowableValue
For example, you want PayPal to display custom payment pages during checkout that you
set up in your account profile. Use the HTML variable page_style with the name you
gave to your custom payment page. If you were to include the variable in HTML code that
you write manually, you would use the standard HTML format:
<input type="hidden" name="page_style" value="myPageStyle">
Enter the variables in the text box using the shortened, name/value-pair format instead:
page_style=myPageStyle
Do not enclose values in quotes, even if values contain spaces. PayPal surrounds the value
from the equal sign (=) to the end of the line with quotes in the generated HTML code.
For more information, see “HTML Form Basics for PayPal Payments Standard” on
page 407.”
6. Do one of the following:
Click the Create Button button if you specified all the features for your button.
Follow the instructions for “Copying and Pasting the Donate Code” on page 97.
Scroll to the top of the page and click the Step 1 bar if you want to adjust the basic
features of your button.
Follow the instructions for “Step 1 – Specifying Basic Features of Your Donate Button”
on page 91, beginning with Step 5.