stripe-payment-flow

โดย AgentsRoomตรวจสอบโดย AgentsRoomยังไม่มีการติดตั้งยังไม่มีการถูกใจอัปเดตเมื่อ 7 พฤษภาคม 2569หมวดหมู่: วิศวกรรม

ทำอะไรได้บ้าง

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

ส่งข้อบกพร่องและคำขอไปยังแบ็คล็อกสาธารณะของคุณโดยตรง

มองเห็น AgentsRoom ในการทำงาน

หลายโปรเจกต์
ผู้ให้บริการหลายราย
หลาย agents
สถานะสด
ไฟล์ diff & commit
คู่หูมือถือ
ตัวอย่างสด
ทีมเอเจนต์
การทำงานอัตโนมัติในเบราว์เซอร์
การพัฒนาที่ขับเคลื่อนด้วย backlog
ห้องสมุดคำสั่ง
ห้องสมุดทักษะ
ดูฟีเจอร์ทั้งหมด