- Home
- Skills
- E-commerce
- Stripe Endive Upgrade (2026-09-30.endive): Find Every Breaking Change, Fix It, Prove It
Works with the AI Agents you already use
Stripe Endive Upgrade (2026-09-30.endive): Find Every Breaking Change, Fix It, Prove It
by Hamza Alayed
Scans your code for every Stripe Endive breaking change, applies the documented fixes and proves them with a before/after scan, tests and a safe version-switch plan.
$1
Stripe Endive Upgrade (2026-09-30.endive): Find Every Breaking Change, Fix It, Prove It
Example session with this skill installed
Upgrade our Laravel 13 app from stripe-php v20 to v22 (Endive). We use Checkout, PaymentIntents, Stripe.js with a Payment Request Button, Radar Payment Evaluations and automatic tax. Tell me what breaks and fix it.
- Read your context and instructions
- Compiled the stripe endive upgrade
Stripe Endive upgrade report
Target: 2026-09-30.endive | Facts checked: 2026-11-25 | Result: READY WITH OPEN ITEMS
Versions
| Component | Before | After | Pins API version? |
|---|---|---|---|
| stripe/stripe-php | ^20.1 | ^22.0 | Yes: v22 pins 2026-09-30.endive |
| Stripe.js script | js.stripe.com/v3 | js.stripe.com/endive/stripe.js | Uses its own release |
| @stripe/stripe-js | ^7.4.0 | unchanged | OPEN: confirm Endive major on releases page |
Findings
| # | Severity | Rule | File:line | Status | Change made |
|---|---|---|---|---|---|
| 1 | BLOCKER | PMT-SERVER | CheckoutController.php:10 | Fixed | payment_method_types → allowed_payment_method_types |
| 2 | BLOCKER | PMT-SERVER | CheckoutController.php:21 | Fixed | same, on PaymentIntent create |
| 3 | BLOCKER | ELEMENTS-PMT | checkout.js:3 | Fixed | paymentMethodTypes → allowedPaymentMethodTypes |
| 4 | BLOCKER | PRB | checkout.js:4-5 | Fixed | Payment Request Button → elements.create('expressCheckout') |
| 5 | BLOCKER | BCA-STRING | BillingService.php:9 | Fixed | 'now' → ['type' => 'now'] |
| 6 | BLOCKER | RADAR-SCORE | BillingService.php:14 | Fixed | score === -1 → score === null, fallback risk_level |
| 7 | REVIEW | BLIK-DECLINE | BillingService.php:19 | Fixed | mapped code_invalid, code_expired, insufficient_funds, customer_declined, payment_limit_exceeded |
| 8 | REVIEW | TAX-ERROR-MISSING | (repository) | Fixed | handles failed_tax_calculation |
| — | read-only | — | CheckoutController.php:23 | No change | $pi->payment_method_types is a response read |
Proof
- Scan before: BLOCKER 7, REVIEW 2 (exit 1) → after: BLOCKER 0, REVIEW 0 (exit 0)
- php -l on changed files: no syntax errors
- Test-mode request IDs: not run (no staging keys provided)
Switch plan
- Ship code fixes + stripe-php v22 in one deploy to staging
- Set every webhook endpoint to 2026-09-30.endive
- Switch Stripe.js to the endive release in the same release
- Run Checkout, PaymentIntent confirm, anchor reset, Express Checkout in test mode; record request IDs
- Deploy to production
Connects securely to your tools. The creator never sees your data.
About this skill
Stripe's Endive release begins with API version 2026-09-30.endive, the first breaking-change version since Dahlia. Bumping the SDK (stripe-php v22 pins it) moves every request to Endive at once, so one leftover payment_method_types turns checkout into an HTTP 400 (payment_method_types_no_longer_supported), and a Payment Request Button stops rendering.
This skill gives your agent a complete, verified upgrade procedure:
- Scanner (Python standard library, read-only) that finds Endive hits in PHP, JS/TS, Python, Ruby, Go, Java and .NET code, plus SDK versions in composer.json, package.json, requirements.txt, Gemfile and go.mod. Severity-ranked (BLOCKER / REVIEW / INFO) with file:line, and exit code 1 while blockers remain.
- Exact fixes for each change:
allowed_payment_method_types/excluded_payment_method_types/ dynamic payment methods,allowedPaymentMethodTypesin Stripe.js, Payment Request Button → Express Checkout Element,billing_cycle_anchorobjects ({type: 'now'},{type: 'timestamp', timestamp}), null Radar scores, new BLIK decline codes,failed_tax_calculation,data_share_only3DS result, Financial Connectionsfilters.country, Elements-with-Checkout-Sessions changes and the Connect changes. - Version switch plan: SDK pin, explicit
stripe_version, webhook endpoint versions, Stripe.js release (js.stripe.com/endive/stripe.js), Workbench rollback window. - Proof: before/after scan, a test per fixed blocker, test-mode request IDs, and a
STRIPE-ENDIVE-UPGRADE.mdreport with a READY / NOT READY verdict.
Every fact was checked against Stripe's changelog and SDK docs on 25 November 2026, and the lookup table links each change to its official entry.
The scanner is pattern-based: it can miss parameters built dynamically (from config, helpers or the database) and can flag lines that are not Stripe calls, so the procedure requires manual triage of every hit. Connect, Treasury, Issuing, Reserves, PayTo, India mandate and dispute-evidence changes are listed with links to the official entries but are not auto-detected in detail. It does not change your Stripe account, Workbench settings or webhook endpoints; it tells you exactly what to change. Preview-channel (.preview) changes and Terminal device SDKs are out of scope. Facts are current as of 25 November 2026; later Endive monthly versions are additive per Stripe's policy.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
- Software
Python 3.8+ (for the scanner)A codebase that uses Stripe
Test-mode verification needs Stripe test keys and a staging environment; without them the report marks that step as not run.
Permissions
File Scopes
The scanner is standard-library Python, read-only and makes no network calls. Reads no API keys or environment variables.
What's inside
Frequently Asked Questions
New in E-commerce
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.