Supported plans: prepaid and lifetime plans (one-time payment). Midtrans is not available for monthly or yearly subscription plans.
Get your API credentials
1
Step 1
Log in to the Midtrans Dashboard and select the Production or Sandbox environment.
2
Step 2
Go to Settings → Access Keys and copy the Merchant ID, Client Key and Server Key. Sandbox and production keys are different.
Webhook
Nothing to set up in the Midtrans Dashboard. Davinci sets the notification URL of each transaction tohttps://YOUR_DOMAIN/webhooks/midtrans, so your site must be publicly reachable over HTTPS. Davinci verifies each notification’s signature with the Midtrans Server Key and completes the order when the status is settlement (or capture accepted by fraud detection).
Configure Midtrans in Davinci
1
Step 1
Go to Admin Panel → Finance Management → Finance Settings and click Midtrans.
2
Step 2
Fill in the fields (all are required once the toggle is on):
3
Step 3
Turn on Use Midtrans Prepaid and click Save.
Davinci doesn’t send a currency to Midtrans and rounds amounts to whole units, so price the plans you sell through Midtrans in Indonesian rupiah (IDR).