Skip to main content
Dodo Payments आधिकारिक framework adaptors प्रदान करता है, जो payment integration को सरल बनाते हैं। प्रत्येक adaptor को आपके framework के conventions के साथ सहज रूप से काम करने के लिए डिज़ाइन किया गया है, जो checkout, customer portal और webhook handling पहले से उपलब्ध कराता है।
Framework adaptors आपको 10 lines से कम code में Dodo Payments integrate करने देते हैं। ये authentication, request parsing और response formatting को स्वचालित रूप से संभालते हैं।

उपलब्ध 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 का उपयोग करें:
2

Configure Environment Variables

अपने environment में अपने Dodo Payments credentials जोड़ें:
अपनी .env file या secrets को version control में कभी commit न करें।
3

Create Route Handlers

अपने checkout, customer portal और webhook routes set up करें:
अब आप payments process करने के लिए तैयार हैं! विस्तृत guides और सभी उपलब्ध options के लिए individual adaptor pages पर जाएँ।

Checkout Flow Types

सभी adaptors तीन checkout flow types support करते हैं:
सरल और shareable payment links के लिए static checkout का उपयोग करें। product ID को query parameter के रूप में पास करें:
query parameters के माध्यम से optional customer prefill और customization support करता है।
custom details के साथ programmatically payments create करने के लिए dynamic checkout का उपयोग करें:
one-time payments और subscriptions, दोनों को support करता है।
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 देखें
अंतिम संशोधन 31 जुलाई 2026