Skip to main content
YooKassa 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 (bank card).

Get your API credentials

1

Step 1

In your YooKassa account, select your shop and go to Integration → API keys.
2

Step 2

Copy the shopId and create or copy the secret key. Test shops have their own shopId and a secret key starting with test_.

Webhook

Required for all YooKassa payments. Davinci saves each YooKassa payment as pending and completes it only when the payment.succeeded notification arrives.
1

Step 1

Go to Integration → HTTP notifications.
2

Step 2

Set the notification URL to https://YOUR_DOMAIN/webhooks/yookassa (replace YOUR_DOMAIN with your domain). YooKassa requires HTTPS on port 443 or 8443.
3

Step 3

Select these events and save:
  • payment.succeeded
  • payment.canceled
  • payment.waiting_for_capture
  • refund.succeeded

Configure YooKassa in Davinci

1

Step 1

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

Step 2

Fill in the fields:
3

Step 3

Turn on Use Yookassa Prepaid (prepaid and lifetime plans) and/or Use Yookassa Subscription (monthly and yearly plans), then click Save.
Davinci rounds YooKassa amounts to whole currency units (for example, 9.99 is charged as 10).

Subscription plans

YooKassa needs no plan IDs. Davinci saves the customer’s card on the first payment. When the subscription period ends, it charges the payment method saved with that first payment and completes the renewal when the payment.succeeded notification arrives:
  • Renewals run in the daily yookassa:check scheduled command, so the cron job must be set up.
  • YooKassa allows saved-card (autopayment) charges only in test shops by default. Ask your YooKassa manager to enable autopayments for your live shop.