Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 347
Securing Your PayPal Payments Standard Buttons
Protecting Payment Buttons by Using Encrypted Website Payments
8
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 the Command Line
Syntax for PayPal Encrypted Website Payments Software table.
Command Line Syntax for PayPal Encrypted Website Payments Software
where:
Arguments for Running Encrypted Website Payments Software
3. Copy the encrypted code to your website.
Software Command Line
Java
java ButtonEncryption CertFile PKCS12File PPCertFile Password InputFile
OutputFile [Sandbox]
Microsoft
Windows
PPEncrypt CertFile PrivKeyFile PPCertFile InputFile OutputFile [Sandbox]
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
[Sandbox] The optional word Sandbox that lets you test payment buttons in the PayPal
Sandbox that you protected with Encrypted Website Payments