Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

stripe-integration

Skill by rmyndharis

Guides an AI assistant through Stripe payment integration, including hosted checkout, subscriptions, webhooks, refunds and customer management. It is for developers building payment or subscription flows in web or mobile apps.

  • Score 78
  • 2.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install stripe-integration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/rmyndharis/antigravity-skills /tmp/antigravity-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-skills/skills/stripe-integration ~/.claude/skills/stripe-integration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install stripe-integration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant Stripe integration guidance and code patterns. It covers hosted Checkout Sessions, custom Payment Intent flows with Stripe.js, Setup Intents for saving payment methods, and subscription creation. It also includes a customer billing portal session, a Flask webhook endpoint with signature verification, and helpers for customers, payment methods, refunds and disputes.

The examples are mostly Python using the stripe library, with a JavaScript snippet for the frontend card flow. The skill lists critical webhook events such as payment_intent.succeeded and customer.subscription.deleted. It also shows test mode keys and test card numbers. It is aimed at developers who need to add payments, recurring billing or secure checkout to an application.

Written from the project's SKILL.md and checked against it.

What it can do

  • Hosted checkoutCreates Stripe Checkout Sessions for one-time payments and subscriptions.
  • Custom payment intentsSets up Payment Intents for a custom checkout UI with Stripe.js.
  • SubscriptionsCreates subscriptions with products and prices, and explains invoices per billing cycle.
  • Customer portalCreates a billing portal session so customers can manage their subscriptions.
  • Webhook handlingVerifies Stripe-Signature headers and routes key payment and subscription events.
  • Customer managementCreates customers, attaches payment methods and lists saved cards.
  • Refunds and disputesCreates full or partial refunds and submits dispute evidence.
  • Test casesShows test mode keys, test card numbers and a sample payment flow test.

What you need

  • Stripe account with API keys (sk_test and pk_test shown in examples)
  • Stripe webhook endpoint secret (whsec) for signature checks
  • Python with the stripe library (examples are in Python)
  • Flask (used in the webhook example)

Try asking

  • Set up a Stripe Checkout Session for a monthly subscription plan
  • Write a Flask webhook handler that verifies Stripe signatures
  • Create a partial refund for a Stripe payment intent with a reason

Good to know

  • Code is provided as snippets, not as a packaged library or runnable project.
  • Stripe Connect marketplace flows are listed as a use case, but the source gives no code for them.
  • The best practices section ends abruptly in the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/stripe-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to stripe-integration

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

stripe-integration: common questions

Does this skill handle Stripe refunds?

Yes. The source includes a create_refund function that supports partial amounts and reasons such as duplicate, fraudulent or requested_by_customer. It also has a handle_dispute function that submits evidence to a dispute.

Does it verify Stripe webhook signatures?

Yes. The main example uses stripe.Webhook.construct_event with the endpoint secret. The source also shows a manual HMAC SHA256 check as an alternative.

Does it cover Stripe Connect?

The source lists building marketplace payment flows with Stripe Connect as a use case. It does not include Connect code examples.

How do I install stripe-integration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is stripe-integration free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is stripe-integration safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to stripe-integration?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

stripe-integration Install

Add to stack

Loading.