उपलब्ध Framework Adaptors
अपने framework से मेल खाने वाला adaptor चुनें:Next.js
checkout, portal और webhooks के लिए route handlers के साथ App Router support
Nuxt
server routes integration वाला Vue-based full-stack framework
Express
लोकप्रिय Node.js framework के लिए middleware-based handlers
Fastify
plugin architecture वाला high-performance Node.js framework
Hono
edge, Cloudflare Workers और अन्य के लिए ultrafast web framework
Astro
server endpoints support वाला content-focused framework
SvelteKit
server hooks integration वाला full-stack Svelte framework
Remix
loader और action handlers वाला full-stack React framework
TanStack Start
server functions वाला type-safe full-stack React framework
Better Auth
seamless auth + payments के लिए authentication framework plugin
Convex
real-time payment sync के लिए Backend-as-a-Service component
Bun
checkout, portal और webhooks के लिए native Bun.serve() handlers
मुख्य सुविधाएँ
सभी framework adaptors ये built-in capabilities प्रदान करते हैं:त्वरित शुरुआत
तीन steps में किसी भी framework adaptor के साथ शुरुआत करें:1
Install the Adaptor
framework-specific adaptor install करने के लिए अपने package manager का उपयोग करें:
- Next.js
- Nuxt
- Express
- Hono
- Astro
- SvelteKit
2
Configure Environment Variables
अपने environment में अपने Dodo Payments credentials जोड़ें:
3
Create Route Handlers
अपने checkout, customer portal और webhook routes set up करें:
- Next.js
- Express
- Hono
अब आप payments process करने के लिए तैयार हैं! विस्तृत guides और सभी उपलब्ध options के लिए individual adaptor pages पर जाएँ।
Checkout Flow Types
सभी adaptors तीन checkout flow types support करते हैं:Static Checkout (GET)
Static Checkout (GET)
सरल और shareable payment links के लिए static checkout का उपयोग करें। product ID को query parameter के रूप में पास करें:query parameters के माध्यम से optional customer prefill और customization support करता है।
Dynamic Checkout (POST)
Dynamic Checkout (POST)
custom details के साथ programmatically payments create करने के लिए dynamic checkout का उपयोग करें:one-time payments और subscriptions, दोनों को support करता है।
Checkout Sessions (POST)
Checkout Sessions (POST)
cart support के साथ सबसे flexible checkout experience के लिए checkout sessions का उपयोग करें:Checkout Sessions Guide में अधिक जानें।
Webhook Event Handling
सभी adaptors granular event callbacks के साथ type-safe webhook handling प्रदान करते हैं:सभी webhook handlers Zod schemas का उपयोग करके signatures को स्वचालित रूप से verify और payloads को validate करते हैं। Invalid requests को उचित error codes के साथ reject कर दिया जाता है।
सही Adaptor चुनना
सहायता प्राप्त करना
Framework adaptors के साथ सहायता चाहिए?- Discord: Real-time सहायता के लिए हमारे community server से जुड़ें
- Email: support@dodopayments.com पर हमसे संपर्क करें
- GitHub: संबंधित adaptor repository पर issue खोलें
- Documentation: हमारा API reference देखें