- Set Paypal As A Secondary Checkout For Your Store Online
- Set Paypal As A Secondary Checkout For Your Store Manager
- Set Paypal As A Secondary Checkout For Your Store Bought
- Set Paypal As A Secondary Checkout For Your Store Card
Important: This integration method is deprecated as of January 1, 2017. PayPal continues to support existing merchants using this method, but please be advised new features and enhancements will not be applied to these integrations. For new integrations, see the PayPal Checkout Integration Guide.
You can make these customizations to the buyer's checkout experience:
Include your company logo
Re: 'PayPal checkout for this store is currently experiencing problems.' I have the same problem as a seller. We're currently getting close to launching our website, so we are now testing everything. Log in to your PayPal account. From My Account, click on Profile. From the Selling Preferences section, open Custom Payment Pages. Click 'Add' to create a new Payment Page style. Make PayPal account optional at checkout When you enable PayPal account optional, buyers can pay by credit card without signing up for PayPal accounts. Buyers can, but they are not required to, sign up for a PayPal account by using the address and credit card from the completed transaction.
You can include your company logo at the top of PayPal checkout pages.
- Create a logo image up to 90 pixels wide by 60 pixels high and save it in a valid graphics format, such as .gif, .jpg, or .png.
- Store the URL to the image on a secure (HTTPS) server.
- Assign the URL to the
LOGOIMG
parameter for NVP, or thecpp-logo-image
parameter for SOAP, in theSetExpressCheckout
. For example:
Note: You can also specify your company logo in your PayPal account Profile. If you specify LOGOIMG
in your Express Checkout API call, it overrides the image stored in your account Profile.
Provide line item details
After a buyer logs in to PayPal, you can show line item details:
Note: If you provide PayPal a user's itemized shopping cart list and a mismatch occurs between the sum of those items and the transaction total, PayPal processes the transaction using the sum of the cart items only when the difference is within $0.50.
Item name | Identifies the item and distinguishes it from other line items in the order. |
Item description | Identifies which of several items the buyer is purchasing. For example, you may be offering an item in different sizes. Knowing the size helps the buyer decide whether the one they selected was appropriate. If the item is an eBay auction item, it is recommended that you provide the phrase 'eBay item' in this field. |
Item number | Identifies an item by a number. If the item is an eBay auction item, it is recommended that you provide the eBay item number in this field. |
Item unit price | Specifies exactly how much one unit of the item costs. It can be a positive or negative value but not zero. |
Item unit quantity | Identifies the number of units the buyer is ordering. PayPal calculates the total as the product of line-item unit price and line-item unit quantity. You can also show other detailed information about the order:
|
Note: The buyer can click the Enter gift certificate, reward, or discount link to redeem certificates, rewards, or discounts that PayPal issues, but not merchant-issued incentives.
Order detail parameters
To include order details as part of the buyer's checkout experience, call the SetExpressCheckout
or DoExpressCheckoutPayment
operations with these parameters:
NVP field | SOAP field | Description and comments |
---|---|---|
L_PAYMENTREQUEST_n_NAMEm | Name | Item name. |
L_PAYMENTREQUEST_n_NUMBERm | Number | Item number. |
L_PAYMENTREQUEST_n_DESCm | Description | Item description. The DESC (NVP) and OrderDescription (SOAP) fields still exist for backwards compatibility. However, L_DESCn and Description enable you to provide a more precise description for each different item purchased, such as hiking boots or cooking utensils rather than one general purpose description such as camping supplies . |
L_PAYMENTREQUEST_n_AMTm | Amount | Item unit price. PayPal calculates the product of the item unit price and item unit quantity (below) in the Amount column of the cart review area. The item unit price can be a positive or a negative value, but not 0. You may provide a negative value to reflect a discount on an order, for example. |
L_PAYMENTREQUEST_n_QTYm | Quantity | Item unit quantity. |
PAYMENTREQUEST_n_ITEMAMT | ItemTotal | Sum of costs of all items in this order. |
PAYMENTREQUEST_n_TAXAMT | TaxTotal | Sum of tax for all items in this order. |
PAYMENTREQUEST_n_SHIPPINGAMT | ShippingTotal | Total shipping cost for this order (8). PayPal calculates the sum of the shipping cost and the handling cost. Although you may change the value later, try to pass in a shipping amount that is reasonably accurate. |
PAYMENTREQUEST_n_HANDLINGAMT | HandlingTotal | Total handling cost for this order. |
PAYMENTREQUEST_n_SHIPDISCAMT | ShippingDiscount | Shipping discount for this order. You specify this value as a negative number. |
PAYMENTREQUEST_n_INSURANCEAMT | InsuranceTotal | Total shipping insurance cost for this order. |
PAYMENTREQUEST_n_AMT | OrderTotal | Total of order, including shipping, handling, tax, and any other billing adjustments such as a credit due. |
If you pass the generic order description parameter (PAYMENTREQUEST_n_DESC
) along with any two of the following line-item parameters, the order description value does not display.
LPAYMENTREQUESTn_NAMEm
LPAYMENTREQUESTn_NUMBERm
LPAYMENTREQUESTn_DESCm
This example shows how to set line-item parameters in the SetExpressCheckout
call.
Change the locale
You can change the locale of PayPal pages to match the language on your website using either a 2-character country code or a 5-character locale code from the supported codes listed on the NVP/SOAP API locale codes page. To change the language displayed on the PayPal pages, set the LOCALECODE
parameter to one of the allowable values in the SetExpressCheckout
call.
This example sets LOCALCODE
to ES
for Spain.
Manage shipping addresses
You can use one of these options to handle a buyer's shipping address:
Suppress the shipping address
You can suppress the display of the buyer's shipping address. You might do this if you sell a product or service that does not require shipping or if you want to handle shipping addresses separately. To suppress the shipping address, set the NOSHIPPING
parameter to 1
in the SetExpressCheckout
call.
Override the shipping address
If your website registration requests the buyer's shipping address, you can override the buyer's shipping address stored on PayPal. This replaces it with one you specify in the SetExpressCheckout
call. The buyer cannot edit the overridden address.
To override the shipping address set the ADDROVERRIDE
parameter to 1
and the following shipping address parameters in the SetExpressCheckout
call:
Automatically fill out shipping and contact information
When you pass the buyer's shipping address, telephone number and email address in the SetExpressCheckout
call, PayPal automatically fills out this information in the debit or credit card form fields on the PayPal page.
After the SetExpressCheckout
call, the buyer is redirected to the PayPal. Buyers with a PayPal account can log in with their email address and password. Buyers who do not have an account can use their debit or credit card to pay and will have their shipping and contact information filled out.
This example call automatically fills out the buyer's shipping and contact information:
This figure shows the Pay with debit or credit card section expanded with the buyer shipping and contact fields filled out.
Display a Pay Now button
You can expedite the checkout flow by letting a buyer skip your order confirmation page and complete their purchase on PayPal.
Set Paypal As A Secondary Checkout For Your Store Online
Generally, a buyer selects a payment method as the last step before they complete their purchase. If you collect no additional information after a buyer returns from PayPal, you can skip the confirm-order page on your website. If you collect additional information that does not affect the payment, PayPal recommends that you collect it after the buyer completes their purchases.
Set Paypal As A Secondary Checkout For Your Store Manager
The useraction
query parameter determines whether a buyer completes their purchase on PayPal or on your website. You can include or omit this parameter from the URL query string:
- If you include
useraction=commit
in the query string, the flow redirects the buyer to the PayPal payment page and displays a Pay Now button. When the buyer clicks Pay Now, PayPal redirects the buyer back to your site, at which point you callDoExpressCheckoutPayment
to complete the payment without additional interaction from the buyer. Choose this flow when you know the final payment amount when you initiate the checkout flow. - If you omit
useraction
from the query string, the default flow redirects the buyer to the PayPal payment page and displays the Continue button. When the buyer clicks Continue, they can edit the payment amount. Choose this flow when you do not know the final payment amount when you initiate the checkout flow.
The following sample code shows the redirect to let buyers pay on PayPal:
Set Paypal As A Secondary Checkout For Your Store Bought
Additional information
Set Paypal As A Secondary Checkout For Your Store Card
- GetExpressCheckoutDetails NVP/SOAP