Skip to main content
PayPal is part of the SaaS Business extension, which requires an Extended License.
Supported plans: prepaid and lifetime plans (one-time payment), monthly and yearly subscription plans.

Get your API credentials

1

Step 1

Log in to the PayPal Developer Dashboard with your PayPal Business account and switch to Live (use Sandbox for testing).
2

Step 2

Go to Apps & Credentials and click Create App. Enter a name, select Merchant and click Create App.
3

Step 3

Copy the app’s Client ID and Secret.

Webhook

Required when Use Paypal Subscription is on. Davinci verifies each event with the Webhook ID.
1

Step 1

On your app’s page, scroll to Webhooks and click Add Webhook.
2

Step 2

Set Webhook URL to https://YOUR_DOMAIN/webhooks/paypal (replace YOUR_DOMAIN with your domain) and select these events:
  • BILLING.SUBSCRIPTION.CANCELLED
  • BILLING.SUBSCRIPTION.SUSPENDED
  • BILLING.SUBSCRIPTION.EXPIRED
  • BILLING.SUBSCRIPTION.PAYMENT.FAILED
  • PAYMENT.SALE.COMPLETED
  • PAYMENT.SALE.REFUNDED
  • PAYMENT.SALE.REVERSED
3

Step 3

Save the webhook and copy its Webhook ID.

Configure PayPal in Davinci

1

Step 1

Go to Admin Panel → Finance Management → Finance Settings and click Paypal.
2

Step 2

Fill in the fields:The two webhook fields are required only when Use Paypal Subscription is on.
3

Step 3

Turn on Use PayPal Prepaid (prepaid and lifetime plans) and/or Use Paypal Subscription (monthly and yearly plans), then click Save.

Subscription plans

Each monthly or yearly subscription plan needs a PayPal Plan ID. Prepaid and lifetime plans don’t.
1

Step 1

In your PayPal Business account, open Subscriptions (under Pay & Get Paid) and click Create Plan. Use the same price, currency and billing cycle as the Davinci plan, then save and turn on the plan.
2

Step 2

Copy the plan ID (starts with P-).
3

Step 3

In Davinci, go to Finance Management → Subscription Plans, create or edit the plan, and paste the ID into PayPal Plan ID under Payment Gateways Plan IDs.
The plan must exist in the same environment (live or sandbox) as the credentials you entered.