How To Setup Paypal Checkout
We’ve recently added Paypal Checkout as a new gateway option to NextGEN Pro.
This article will show you how to set up Paypal Checkout as your payment gateway.
You can locate your PayPal Checkout setting under Ecommerce > Ecommerce Options > Payment Gateway
If you want to use PayPal Checkout, you should click "Yes" in the option "Enable PayPal Checkout". There are three different settings:
- Use Sandbox: Whether you like to use a PayPal Checkout Sandbox account or not.
- Client ID: A long string used to validate your PayPal REST API key.
- Client Secret: A long string used to validate your PayPal REST API key.
Creating your REST API key
Create or Upgrade to PayPal Business account
You’ll need a Paypal business account to use Paypal Checkout.
- Create: https://www.paypal.com/us/webapps/mpp/referral/paypal-business-account
- Upgrade: Login into your account and go to your Profile, you should be able to see an option "Upgrade to a business account".
Retrieve PayPal API Keys
Once you’ve upgraded to a Business Account, retrieve the API keys from Paypal.
Go to https://developer.paypal.com/ and log into the Paypal Developer Dashboard with your PayPal account credentials.
On the top menu click on APIs, select the option "REST APIs"
On My Apps & Credentials, click the Live toggle.
In the REST API apps section, click Create App.
Give your app a name you will remember and associate it with your website. Find and copy your live client ID and Client Secret.
- App display name: This is the name of your API, and it is recommended that your name it similar to your website. You can edit the display name by clicking in the pencil.
- PayPal Account: the account you used to create your live API credentials
- Client ID.
- Secret: Your Client Secret ID.
Add your API Keys to NextGEN Pro settings
Finally, return to your own website dashboard, and paste your live client ID and Client Secret into the associated PayPal Checkout fields under Ecommerce > Ecommerce Options > Payment Gateway > Paypal Checkout. Be sure to save your settings.
Note: Be sure to have the "Use Sandbox" option set to "No".
Once you have set up everything, you can go back to your PayPal development account and check if the connection is working. You will see the status "Enabled" next to the Secret.
The PayPal Sandbox is a self-contained, virtual testing environment that mimics the live PayPal production environment. It provides a shielded space where you can initiate and watch your application process the requests you make to the PayPal APIs without touching any live PayPal accounts. You will need a separate Business sandbox account if you want to test that mode.
You need, of course, to create a REST API Sandbox account instead.
While creating your new API, consider using the name "Sandbox" to avoid confusion with your live API
You should enable the option "Use Sandbox" and include the information from your Sandbox account in the "Client ID" and "Client Secret". Do not forget to click on "Save Options".
Other Payment Gateways
Paypal offers multiple ways to link to Paypal for checkout. Historically, NextGEN Pro has offered Paypal Standard and Paypal Express. While we still offer these, Paypal is slowly phasing them out and replacing them with something called Paypal Checkout. To see all our available payment methods, please visit this link "Ecommerce Settings". https://www.imagely.com/docs/ecommerce-settings/#payment-gateway