Skip to main content

PayPal payment

1. Create a PayPal app

You need a PayPal business account. Create one if needed, then sign in to the Developer Dashboard and click Create App under Apps & Credentials.

Copy the Client ID and Secret from the app’s basic information.

create a PayPal application PayPal application details

2. Create the provider in Casdoor

Add a Payment provider, set Type to PayPal, and enter the Client ID and Secret (Client secret).

3. Attach to your product

Add the PayPal provider to your product so users can pay with PayPal.

add PayPal payment provider for product

note

The steps above use PayPal Sandbox. For production, create an app in Live mode and set runmode=prod in Casdoor’s conf/app.conf.