Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 263
Securing Your Website Payments Standard Buttons
Protecting Payment Buttons by Using Encrypted Website Payments
6
N OTE: The cert_id variable identifies the public certificate you uploaded to PayPal
website.
cert_id=Z24MFU6DSHBXQ
cmd=_xclick
business=sales@company.com
item_name=Handheld Computer
item_number=1234
custom=sc-id-789
amount=500.00
currency_code=USD
tax=41.25
shipping=20.00
address_override=1
address1=123 Main St
city=Austin
state=TX
zip=94085
country=US
no_note=1
cancel_return=http://www.company.com/cancel.htm
2. Run the encryption software using the appropriate syntax, as shown in Table 6.2 ,
“Command Line Syntax for PayPal Encrypted Website Payments Software.”
3. Copy the encrypted code to your website.
where:
TABLE 6.2 Command Line Syntax for PayPal Encrypted Website Payments Software
Software Command Line
Java java ButtonEncryption CertFile PKCS12File PPCertFile Password InputFile OutputFile [Sandbox]
Microsoft
Windows
PPEncrypt CertFile PrivKeyFile PPCertFile InputFile OutputFile [Sandbox]
T
ABLE 6.3 Arguments for Running Encrypted Website Payments Software
Argument Description
CertFile The pathname to your own public certificate
PKCS12File The pathname to the PKCS12-format of your own public certificate
PPCertFile The pathname to a copy of the PayPal public certificate
Password The passphrase to the PKCS12-format of your own public certificate
InputFile The pathname to file containing the non-encrypted Website Payments
HTML Form variables
OutputFile A file name for the encrypted output