Integration Guide
Table Of Contents
- Website Payments Pro Hosted Solution Integration Guide
- About This Guide
- Intended Audience
- Revision History
- Documentation Feedback
- Getting Started with Website Payments Pro Hosted Solution
- Integrating Your Website Using HTML
- Customising Your PayPal Payment Page
- Integrating iFrame in Your Website
- Integrating Your Website Using API
- Testing Your Integration in Sandbox
- Order Processing
- Protecting Buttons by Using Encrypted Website Payments
- Public Key Encryption Used by Encrypted Website Payments
- Setting Up Certificates Before Using Encrypted Website Payments
- Generating Your Private Key Using OpenSSL
- Generating Your Public Certificate Using OpenSSL
- Uploading Your Public Certificate to Your PayPal Account
- Downloading the PayPal Public Certificate from the PayPal Website
- Removing Your Public Certificate
- Using Encrypted Website Payments to Protect Your Payment Buttons
- Blocking Unprotected and Non-encrypted Website Payments
- Optional API Operations
- Moving from Website Payments Standard to Hosted Solution
- Error Messages
- Currency Codes
- Index
B
81
Moving from Website Payments
Standard to
Hosted Solution
If you are moving from Website Payment Standard to Hosted Solution, you must make the
following changes:
1. In the FORM tag, change the cmd value in the action attribute
from:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
to:
<form
action="https://securepayments.paypal.com/acquiringweb?cmd=_hosted-
payment" method="post"><input type="hidden" name="cmd" value="_hosted-
payment">
2. Change HTML variable amount to subtotal.
N OTE: Website Payment Standard has separate values for amount and quantity,
whereas Hosted Solution uses subtotal only. Ensure that the subtotal includes
the amount you want to charge the buyer, taking into account any applicable
discount and the quantity of items.
3. If you have already customised your checkout flow, such as color and background, you will
need to redo those settings for Hosted Solution. For more information about customising
the look and feel of your payment page, refer to Chapter 3, “Customising Your PayPal
Payment Page.