Supported plans: prepaid and lifetime plans (one-time payment), monthly and yearly subscription plans.
Get your API credentials
1
Step 1
In the Stripe Dashboard, go to Developers → API keys.
2
Step 2
Copy the Publishable key and the Secret key. Live keys start with
pk_live_ and sk_live_, test keys with pk_test_ and sk_test_.Webhook
Required when Use Stripe Subscription is on. Stripe uses it to report renewals, failed payments and cancellations.1
Step 1
In the Stripe Dashboard, open Workbench → Webhooks and create a new event destination.
2
Step 2
Select Your account, keep any API version, and select these events:
invoice.paidinvoice.payment_failedcustomer.subscription.deleted
2025-03-31.basil.
3
Step 3
Select Webhook endpoint as the destination type.

4
Step 4
Set Endpoint URL to 
https://YOUR_DOMAIN/webhooks/stripe (replace YOUR_DOMAIN with your domain) and create the destination.
5
Step 5
On the destination details page, copy the Signing secret (
whsec_...).
Configure Stripe in Davinci
1
Step 1
Go to Admin Panel → Finance Management → Finance Settings and click Stripe.
2
Step 2
Fill in the fields:
The two webhook fields are required only when Use Stripe Subscription is on.

3
Step 3
Turn on Use Stripe Prepaid (prepaid and lifetime plans) and/or Use Stripe Subscription (monthly and yearly plans), then click Save.
Subscription plans
Each monthly or yearly subscription plan needs a Stripe Price ID. Prepaid and lifetime plans don’t.1
Step 1
In the Stripe Dashboard, go to Product catalog and create a product. Select Recurring, enter the same amount and currency as the Davinci plan, set Billing period to Monthly or Yearly, and click Add product.

2
Step 2
Open the product, click 
... next to the price and select Copy price ID (price_...).
3
Step 3
In Davinci, go to Finance Management → Subscription Plans, create or edit the plan, and paste the ID into Stripe Price ID under Payment Gateways Plan IDs.

If the plan’s Free Plan Days is greater than 0, Stripe starts the subscription with a free trial of that many days.