अवलोकन
Dodo Payments Framer plugin आपकी Framer site में Dodo Payments products के लिए buy buttons जोड़ता है। प्रत्येक button आपकी page पर checkout को overlay के रूप में खोलता है या customer को hosted checkout page पर भेजता है—test mode या live mode में।Official Plugin
Framer Marketplace से Dodo Payments plugin install करें।
विशेषताएँ
Hosted or Overlay Checkout
अपनी page पर checkout को overlay के रूप में खोलें या customers को hosted checkout page पर भेजें।
Drag-and-Drop Setup
अपनी API key को plugin में paste करें, canvas में buy button जोड़ें और publish करें।
Digital Delivery
Payment के बाद customers को email के ज़रिए download links या license keys भेजें।
Worldwide Coverage
Cards, wallets और local payment methods के साथ 220+ देशों के customers को बेचें।
Automatic Tax & Invoicing
Merchant of Record के रूप में, Dodo Payments VAT, GST और sales tax की गणना करके जमा करता है और प्रत्येक payment के लिए invoice जारी करता है।
No-Code Subscriptions
Subscription products को one-time products जैसा ही buy button मिलता है, बिना किसी code के।
सेटअप गाइड
1
Generate API Key
Dodo Payments dashboard में Developer → API Keys पर जाएँ और Add API Key पर click करें। आप सीधे API Keys page भी खोल सकते हैं।एक API key केवल एक mode में काम करती है। Key बनाने से पहले, mode चुनने के लिए sidebar में Live Mode switch का उपयोग करें:
- Live Mode
- Test Mode
Production के लिए। Customers वास्तविक payment methods से payment करते हैं।
API key को copy करके सुरक्षित रूप से store करें। Dashboard इसे केवल एक बार दिखाता है और अगले step में आपको इसे plugin में paste करना होगा।
2
Authenticate Plugin
- Framer में Dodo Payments plugin खोलें। यह Authenticate page पर खुलता है।
- API Mode के अंतर्गत अपनी API key से मेल खाने वाला Test Mode या Live Mode चुनें।
- अपनी API key को API Key में paste करें।
- Continue पर click करें।
3
Manage Products
Authenticate करने के बाद, plugin आपके चुने गए mode के products को Products के अंतर्गत सूचीबद्ध करता है:
- Existing products अपने-आप दिखाई देते हैं और प्रत्येक पर One-time या Subscription का label होता है।
- No products yet: Products के पास मौजूद Plus (+) button पर click करें।
Plus (+) button Dodo Payments dashboard खोलता है, जहाँ आप product बना सकते हैं और उसका price, description तथा अन्य settings तय कर सकते हैं।
4
Add Buy Buttons
- सूची से कोई product चुनें।
- Add Buy Button पर click करें।
Buy {product_name} label वाला buy button जोड़ता है। उसी product screen पर Edit product को Dodo Payments dashboard में खोलता है और Show Preview उसका checkout preview खोलता है।Customization
Buy button के काम करने के तरीके को बदलने के लिए उसे canvas पर चुनें और Framer में उसकी properties edit करें।1
Select Checkout Experience
Checkout कैसे खुलेगा, यह चुनने के लिए Type सेट करें:
- Overlay: Checkout आपकी Framer page पर overlay के रूप में खुलता है, इसलिए customers आपकी site पर ही रहते हैं। नए buttons के लिए plugin इसी type का उपयोग करता है।
- Hosted: Button Dodo Payments hosted checkout page से link होता है। Link Target यह तय करता है कि page नए tab में खुलेगा या उसी tab में।
2
Customize Appearance Options
इन properties के साथ button और checkout को अपनी site से match करें:
- Checkout Theme: Light या dark checkout।
- Label: Button का text, जैसे “Buy Now”, “Purchase” या “Get Started”।
- Button styling: Background color, text color, font, font size, border radius और padding।
- Return URL: वह Framer page या URL जहाँ checkout के बाद customers वापस आते हैं।
- Environment: Live या Test। Plugin इसे उस mode पर सेट करता है जिससे आपने authenticate किया है।
Troubleshooting
Authentication Issues
Authentication Issues
Problem: Plugin authenticate नहीं होता।Solutions:
- जाँचें कि आपने पूरी API key paste की है।
- जाँचें कि API Mode उस mode से मेल खाता है जिसमें key बनाई गई थी। Test mode key live mode में काम नहीं करती और live mode key test mode में काम नहीं करती।
- अपना internet connection जाँचें।
Product Display Issues
Product Display Issues
Problem: Products plugin में दिखाई नहीं देते।Solutions:
- जाँचें कि आपने अपने Dodo Payments dashboard में products बनाए हैं।
- जाँचें कि products उसी mode में मौजूद हैं जिसमें आपकी API key है। Plugin केवल उसी mode के products सूचीबद्ध करता है जिससे आपने authenticate किया है।
- Plugin को फिर से authenticate करें।