TurboJet
PaymentsPayment providers

DOKU

DOKU FlexiBill plans for STARTER membership.

DOKU FlexiBill subscription plans are available when features.paymentsProvider is PaymentProvider.Doku.

Webhook not hosted here

This marketing+docs host does not mount a DOKU webhook HTTP route. Adapter code lives in packages/api/src/modules/billing/adapters/doku/. Remount webhooks on a SaaS host in the full TurboJet monorepo.

Setup

  1. Create FlexiBill subscription plans in the DOKU dashboard.
  2. Paste plan IDs into lookupKeys.doku.flexibillPlanIds (monthly / yearly) in packages/payments/src/subscription-plans.ts.
  3. Set env vars and paymentsProvider: PaymentProvider.Doku.

Environment variables

DOKU_CLIENT_ID=""
DOKU_SECRET_KEY=""
DOKU_WEBHOOK_SECRET=""
DOKU_IS_PRODUCTION="false"  # true in production

On this page