stripe-payment-flow

AgentsRoom द्वाराAgentsRoom द्वारा सत्यापितअभी तक कोई इंस्टॉल नहींअभी तक कोई लाइक नहीं7 मई 2026 को अपडेट किया गयाश्रेणी: इंजीनियरिंग

यह क्या करता है

Use when integrating Stripe. Generates payment-intent endpoint, idempotent webhook handler, and the orders table migration.

इंस्टॉल करने पर यह एंट्री आपके AgentsRoom डेस्कटॉप ऐप में खुलती है। अगर ऐप अभी इंस्टॉल नहीं है, तो आपको डाउनलोड पेज पर भेज दिया जाएगा।

SKILL.md

---
name: stripe-payment-flow
description: Use when integrating Stripe. Generates payment-intent endpoint, idempotent webhook handler, and the orders table migration.
---

# Stripe payment flow

When asked to add a checkout / subscription flow:

1. Use Stripe Checkout for one-shot payments, Stripe Billing for subs — don't roll your own Elements unless the user insists.
2. Webhook handler MUST verify the signature (`stripe.webhooks.constructEvent`) before doing anything.
3. Webhook is idempotent: dedupe on `event.id`. The same event can fire twice in network failures.
4. Persist Stripe ids (`customer`, `subscription`, `payment_intent`) on your User / Order rows.
5. Never trust the client-side success URL alone — confirm via webhook before flipping `paid: true`.

टैग

backendstripepayments

और जानें

AgentsRoom डाउनलोड करें

अपने सभी AI एजेंट्स को, अपने सभी प्रोजेक्ट्स पर, एक ही विंडो से चलाएं।

मुफ़्तAgentsRoom डाउनलोड करें

कंपेनियन ऐप: चलते-फिरते अपने एजेंट्स मॉनिटर करें

Claude, Codex, Antigravity CLI या किसी अन्य AI प्रदाता का उपयोग करें।

एक्सटेंशन इंस्टॉल करें
Chrome Web Store

बग और अनुरोध सीधे अपने सार्वजनिक बैकलॉग में भेजें।

मल्टी-प्रोजेक्ट
मल्टी-प्रोवाइडर
मल्टी-एजेंट
लाइव स्टेटस
फाइल डिफ और कमिट
मोबाइल ऐप
लाइव प्रीव्यू
एजेंट टीमें
ब्राउज़र ऑटोमेशन
बैकलॉग-संचालित डेव
प्रॉम्प्ट लाइब्रेरी
स्किल्स लाइब्रेरी
सभी सुविधाएँ देखें