Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Mounts official @dodopayments adapter checkout, customer portal, and verified webhook route handlers across supported web frameworks.
32% 86%+55 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use this skill when you need to integrate Dodo Payments into a web framework using the official adapter packages. Framework adapters handle route plumbing, environment configuration, and handler setup so you don't build checkout, portal, and webhook routes from scratch.
Dodo publishes @dodopayments/* packages that wrap the core SDK with framework-specific route handlers. Instead of writing your own HTTP handlers, you import the adapter's handlers and mount them directly in your routes.
Each adapter exposes three handler families:
Export names are not uniform across adapters. Most export Checkout / CustomerPortal / Webhooks, but two differ, and the return shapes differ as well. Check this table before writing imports:
| Adapter | Checkout export | Portal export | Handler shape |
|---|---|---|---|
nextjs, hono, astro, bun, remix, tanstack | Checkout | CustomerPortal | returns a request handler |
express | checkoutHandler (lowercase) | CustomerPortal | returns (req, res) |
fastify | Checkout | CustomerPortal | returns { getHandler, postHandler } |
sveltekit | Checkout | CustomerPortal | returns { GET, POST } / { GET } |
nuxt | checkoutHandler (auto-imported) | customerPortalHandler | no import statement |
convex | DodoPayments component | — | createDodoWebhookHandler |
The adapters handle raw body preservation for webhook verification, environment variable mapping, and framework-specific request/response shapes. Checkout payload design belongs to the checkout-integration skill; webhook business logic belongs to webhook-integration; portal behavior belongs to customer-management.
| Framework | Package | Install |
|---|---|---|
| Next.js | @dodopayments/nextjs | npm install @dodopayments/nextjs |
Next to this one in the catalogue, plus more from the same author.