Setting up Paypal Express Checkout
page last edited on 15 February 2017
This article explains how to set up Paypal Express Checkout in X-Cart.
Table of Contents
- Table of Contents
- Setting up Express Checkout with email
- Enabling the Secure Token setting
- Creating your custom PayPal payment page
Setting up Express Checkout with email
The basic setup of Paypal Express Checkout requires you to specify your email only. You should input it into the field shown below:
- If you already have a Paypal account, then you should input the email you created your Paypal account with.
- If you do not yet have a Paypal account, then you can input the email you are going to create your Paypal account with and create the account itself later on.
Enabling the Secure Token setting
You may need to include this option if you want to capture payments authorized by Paypal via the admin interface of your X-Cart store. Using this option requires you to have a Paypal Advanced Payments or a Paypal Payflow Pro account.
How to enable the Secure Token setting:
- Log in to your PayPal Manager account;
Click Service Settings;
Under Hosted Checkout Pages, click Set Up;
Set Enable Secure Token to Yes;
Click Save Changes;
- Fill in the API credentials into the settings form in X-Cart 5 as per snapshot below:
Creating your custom PayPal payment page
Creating a custom payment page allows you to co-brand the PayPal checkout pages with your logo and colors.
Log in to your PayPal account.
Underneath the My Account tab, click Profile;
Click My selling tools;
Locate Custom payment pages, and click the Update link next to it;
In the Page Style Name box, give a name to your custom page style. (It doesn’t matter what you put here, as long as it isn’t “PayPal”.);
In the Logo Image URL box, enter the URL of your logo image. Your logo image should be 190x60px, and should be hosted on an SSL-secured (https://) site. If you do not have an SSL-secured site available to you, free alternatives (such as sslpic.com) are available.
In the Cart Area Gradient Color box, enter an HTML hex code that represents the gradient color you want to use around the shopping cart section of the checkout page.
Click the radio button next to the new payment page style you just created, and click Make Primary. Your custom payment page style will now be used whenever buyers choose to pay with PayPal.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.