AiSkillz

Early "As-Is" Access - free for the first 20 accounts. 18 of 20 places left: complete registration to claim one. No credit card needed.

← Back to skills
Code reviewVia MCPAny / model-agnosticLicense: My own work (all rights reserved)

Stripe integration review

Created by CodeCraft LLC

Build and review Stripe payment integrations safely

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.10.2 · updated 2026-12-01Report copyright infringement

Description

Build and review Stripe payment integrations safely — server-side price/amount authority, Checkout Sessions vs PaymentIntents, fulfillment from webhooks (not redirects), webhook signature verification on the raw body, idempotent event handling and idempotency keys, subscriptions lifecycle, Connect account checks and fees, refunds/disputes, API key types (publishable, secret, restricted), API version pinning, test vs live mode, and Stripe Tax settings in code (`automatic_tax` on every charging path, `tax_behavior`, customer location, zero tax without registrations, tax disabled on renewals, Tax Calculations for PaymentIntents, credit notes). Use whenever `stripe` or `@stripe/stripe-js` is in the project, the code handles payments, checkout, subscriptions, payouts, marketplace/Connect flows, or webhooks from Stripe, mobile payments with @stripe/stripe-react-native or PaymentSheet in React Native/Expo apps, "in-app purchase vs Stripe" questions, and especially when reviewing payment code before launch.

#review#stripe

Included with all-access

$15.00 one-time, permanent access

Get all-access · $12.00/mo, billed yearly

or

Buy 2 or more together for up to 40% off · View cart

You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms

Official and free skills are included with the all-access subscription

Changelog

Subscribers also see which files changed in each version.

v1.10.2Dec 1, 2026Latest

Added

  • README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.10.1Dec 1, 2026

Changed

  • Reworded two sentences that matched Stripe docs word for word (source-overlap check).
v1.10.0Nov 28, 2026

Changed

  • Re-checked the Stripe changelog, webhooks and Events API docs, stripe-node CHANGELOG and npm (28 November 2026): latest API version 2026-11-18.endive (non-breaking; pinned by stripe-node 23.2.0); @stripe/stripe-react-native 0.85.1.
  • Missed-events pitfall: CLI stripe events resend works for 30 days (Dashboard resend 15).

Added

  • Live-mode retry window (up to three days), the destination field in Stripe-Signature being debug-only, and secret rolling with up to 7 days' overlap.
v1.9.0Nov 20, 2026

Added

  • Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.8.0Nov 11, 2026

Added

  • Checklist item: check the live webhook endpoint read-only (API version, enabled events, URL) when the Stripe CLI or dashboard access is available - with stripe webhook_endpoints list --live, since the CLI lists sandbox endpoints by default - including that the endpoint's status is enabled, and, for thin events, the v2 event destination.
v1.7.1Nov 10, 2026

Fixed

  • Tax API refunds: a full reversal after partial reversals records only the remainder or also reverses the earlier partials, so refunds aren't counted twice in tax reports.
v1.7.0Nov 6, 2026

Changed

  • Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.6.0Nov 5, 2026

Added

  • Tax: the invoice that triggered a disabled automatic_tax is already finalized without tax and goes to the user's tax adviser; linked-calculation refunds are spread across line items, so per-item reversals need the record-it-yourself route; Tax API calculations for payments outside Stripe need a transaction and reversals created by the code.
v1.5.0Nov 4, 2026

Added

  • Section 5, tax settings in code, and a matching checklist section: automatic_tax on every charging path, tax_behavior, customer location, tax IDs, Connect liability, Tax API transactions and reversals, credit notes. These checks came from the tax skill, which left the library; they live here now. Tax-obligation choices stay with the user's tax adviser.
  • Zero tax where the liable account has no active registration (Stripe returns no error); automatic tax switched off on subscription renewals (disabled_reason) and how to turn it back on; PaymentIntent flows that calculate tax before payment and either link the calculation (hooks[inputs][tax][calculation]) or record transactions and reversals themselves; the account's preset product tax code accepted in place of a per-Product tax_code. Sources: Stripe Tax docs for subscriptions, PaymentIntents and product tax codes, and the Subscription and Invoice API reference.
v1.4.0Nov 4, 2026

Changed

  • Review report rule at the top of the skill, loaded before any review: one entry per finding as Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
  • Removed the tax skill from Pairs with; it left the library.
v1.3.2Nov 1, 2026

Changed

  • README: "Pairs with" now lists payments-tax.
v1.3.1Oct 31, 2026

Changed

  • References updated for renamed skills: supabase is now supabase-platform, eas-workflows is now eas-workflows-ci, skill-creator is now skill-creator-aiskillz.

Fixed

  • Added a "Deep-dive references" section with on-demand triggers for references/mobile-react-native.md and the review checklist; the inline pointer in the PaymentSheet rule is gone.
  • Google's service-fee and billing-fee split from 2026-06-30 applies to the US, EEA and UK first, not only the EEA and UK. The Apple block now names the guidelines revision (October 16, 2026).
  • The StoreKit External Purchase Link entitlement bullet now says it covers storefronts outside the US and EU (the EU follows Attachment 14).
v1.3.0Oct 30, 2026

Added

  • Mobile payments: a core rule for PaymentSheet (publishable key only in the app; an authenticated server endpoint that prices server-side, creates or reuses the Customer, creates a CustomerSession and the PaymentIntent) and a new on-demand reference references/mobile-react-native.md covering PaymentSheet calls (customerSessionClientSecret or the still-accepted customerEphemeralKeySecret, delayed payment methods), Expo setup (config plugin, Expo Go vs development builds for Apple Pay / Google Pay, return URLs) and @stripe/stripe-react-native 0.84.0 requirements.
  • Store payment rules (dated 2026-10-30, verify for your markets): when Apple in-app purchase or Google Play Billing is required, US storefront and US-user changes, EU and EEA/UK programs; pointers to the in-app purchase skills.
  • A "Mobile" review checklist group.

Changed

  • Fulfillment rule now covers PaymentSheet: fulfill on payment_intent.succeeded (handle processing and payment_failed), never on the client result.
  • Description and README triggers include @stripe/stripe-react-native, PaymentSheet and "in-app purchase vs Stripe".
v1.2.0Oct 30, 2026

Changed

  • API versions: the agent now checks the Stripe changelog for the current version instead of relying on a named one (latest seen 2026-10-28.endive).
  • Thin events: GA for API v1 resources in 2026-09-30.endive, semantic thin events for subscriptions and invoicing in 2026-10-28.endive, unversioned thin payloads, and snapshot_api_version set only when a destination is created.

Added

  • A webhook endpoint upgrade procedure: parallel endpoint with a distinguishing query parameter, idempotent handlers, 400 on the old endpoint so a revert replays events, then disable the old one.
  • Pitfall and checklist items for the 2026-09-30.endive breaking changes (payment_method_types removed from Checkout Sessions, unified billing cycle anchor format, Stripe.js canConfirm while Elements-with-Checkout updates are pending).
  • Edge-runtime webhook rule and checklist item: on Deno/Supabase Edge Functions verify with constructEventAsync and Stripe.createSubtleCryptoProvider() on the raw req.text() body; how to read 400-on-every-event and 401 failures.

Fixed

  • 2026-09-30.endive pitfall and checklist item list all four places payment_method_types was removed: Checkout Sessions, PaymentIntents, SetupIntents, and the Elements payment-method-types option in Stripe.js.
  • "Thin (v2) events" corrected to "thin events (v1 or v2 resources)" in the checklist and README.
v1.1.0Oct 3, 2026

Changed

  • Checked against the official documentation (October 2026).
  • Added API versioning: monthly non-breaking releases, twice-yearly majors, and keeping webhook endpoint versions matched to the SDK's pinned version.
  • Added thin (v2) events vs snapshot events, sandboxes for testing, and replaying missed events.
  • Added 2 pitfalls and 4 review checklist items.
v1.0.1Oct 3, 2026

Changed

  • Added a trademark notice to the README.
v1.0.0Oct 2, 2026

Added

  • First release.