Search for a command to run...
Drop-in pricing page with checkout, subscription management and webhook-synced state — powered by Dodo Payments and Zod. Configure your plans and ship.
Add these to your .env before installing. The CLI runs Prisma generate and migrate using these values during install — add them first, or the install will fail partway through.
DATABASE_URLrequiredPostgreSQL connection string.
e.g. postgresql://user:pass@localhost:5432/mydbDODO_PAYMENTS_API_KEYrequiredDodo API key. Get it from your Dodo dashboard →
DODO_PAYMENTS_WEBHOOK_KEYrequiredWebhook signing secret. Set up your webhook →
DODO_PAYMENTS_RETURN_URLrequiredPost-checkout redirect URL.
e.g. http://localhost:3000/checkout/successDODO_PAYMENTS_ENVIRONMENTrequiredtest_mode or live_mode.
e.g. test_modenpx feature101@latest add payments/pricing to see the checkout flow, pricing page, and webhook handler in action/payments/payment.config.ts/api/webhook/dodo-payments