charanjit-singh/lovable-skills/stripe-one-time-payment-webhooks
- community
Checking that the SKILL.md file is still in the repository.
Use when webhooks for one-time Stripe payments: Checkout mode payment, Payment Links, payment_intent.succeeded, orders table, credits, or lifetime purchases. Not for recurring subscriptions (use stripe-payment-webhooks and pricing-and-billing).
Install
npx vskill@latest install charanjit-singh/lovable-skills/stripe-one-time-payment-webhooksSKILL.md
Stripe one-time payment webhooks
Separate orders / purchases from subscriptions. Different events and tables.
Checkout mode: "payment"
Handle checkout.session.completed:
session.mode === "payment"session.payment_intent— retrieve for amount, statusclient_reference_id/metadata.user_id→ app user
Also handle payment_intent.succeeded if you create PaymentIntents without Checkout — same upsert keyed on payment_intent.id (idempotency).
Schema
Refunds
charge.refundedorpayment_intent.canceled→ setorders.status = 'refunded'; revoke credits if applicable.
Credits / lifetime license
Grant in webhook after idempotency check:
RPC must be idempotent or guarded by stripe_payment_intent_id unique constraint.
Avoid
- Storing one-time purchase only in
subscriptionstable. - Fulfilling order on
success_urlwithout webhook. - Double grant on
checkout.session.completed+payment_intent.succeededwithout shared idempotency key (use samepayment_intent_idunique key).
Related
stripe-payment-webhooks— signature and hostingpayment-webhook-idempotency— duplicate events
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/stripe-one-time-payment-webhooks/SKILL.md
Popularity
- Repository stars
- 10
- Repository forks
- 9
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/charanjit-singh/lovable-skills/stripe-one-time-payment-webhooks)