Paypal payment integration

This is a guide for setting up Paypal as a payment provider.

Setup in Paypal admin

Please note that Paypal admin might have slightly changed and that some of the buttons might have relocted. 

1. Navigate to the Developer section

Go to the Paypal dashboard for your Paypal business account. And click th Developer option in the menu.

2. Create an App

Go to "Apps & Credentials" and "Create App".

Give your app a name and create.

Sandbox

It is possible to test the Paypal-integration in a sandbox environment with sandbox accounts.

Paypal admin for sandbox accounts
Sandbox accounts in paypal admin

Card testing: https://developer.paypal.com/tools/sandbox/card-testing/

Add Credentials in Cradle

Add Paypal as a payment gateway

More information here: Setup payment gateways

Payment gateway settings

Setting

Description

Sandbox

Tick and use sandbox credentials from Paypal

captureOnCheckout

With value false the amount will be authorised and true will capture the amount when order is placed.

debug

Value is true or false.

disableMethods

choose payment methods to disable, by default all are active.

clientId

The clientid from Paypal

secret

The secret key from Paypal