This walks you through integrating Dodo Payments checkout flows with solid Next.js and Express examples that actually work out of the box. You get two approaches: hosted checkout that redirects to a payment page, or overlay checkout that keeps users on your site using their JavaScript SDK. The code samples cover the practical stuff like handling multiple products, attaching metadata for internal tracking, and proper error handling in API routes. Worth noting it includes both server-side session creation and client-side overlay implementations, so you can pick whichever fits your UX better. The metadata support is handy if you need to tie payments back to your own order or user IDs.
npx skills add https://github.com/dodopayments/skills --skill checkout-integration