api
Stripe
14 verified traps, most recently checked first. Also as a list with each fix: Stripe breaking changes.
- fg-0568StripeVerified Oct 2026A Stripe webhook handler that skips constructEvent accepts fake payment events from anyone
The webhook handler parses the JSON body directly and never reads the Stripe-Signature header
verified 2026-10-27 · 0 confirmations
- fg-0148StripeVerified Oct 2026latest_invoice.payment_intent is gone, so a new subscription has no client_secret to confirm
expand latest_invoice.payment_intent returns an invoice with no payment_intent field
verified 2026-10-15 · 0 confirmations
- fg-0149StripeVerified Oct 2026metadata.get() raises AttributeError after upgrading stripe-python to v15
AttributeError when calling .get(), .keys() or .values() on a Stripe object
verified 2026-10-15 · 0 confirmations
- fg-0151StripeVerified Oct 2026Stripe.Customer and other namespace types vanish after upgrading stripe-node to v22 in a CommonJS project
TS2694: Namespace 'StripeConstructor' has no exported member 'Customer'
verified 2026-10-15 · 0 confirmations
- fg-0152StripeVerified Oct 2026Stripe has no API to delete a Price, and deleting its Product then fails
AttributeError: type object 'Price' has no attribute 'delete'
verified 2026-10-15 · 0 confirmations
- fg-0153StripeVerified Oct 2026stripe listen forwards events in your account's default API version, not the version your code pins
unknown flag: --api-version
verified 2026-10-15 · 0 confirmations
- fg-0154StripeVerified Oct 2026stripe-node calls hang or bypass MSW and Nock 14 mocks in tests
Stripe requests hang until timeout when MSW is active
verified 2026-10-15 · 0 confirmations
- fg-0156StripeVerified Oct 2026subscription.items is a dict method, not the line items, in stripe-python before v15
TypeError: 'builtin_function_or_method' object is not iterable
verified 2026-10-15 · 0 confirmations
- fg-0155StripeVerified Oct 2026subscription.current_period_end is undefined after upgrading to Stripe API 2025-03-31.basil
subscription.current_period_end and current_period_start come back undefined with a 200 response
verified 2026-10-15 · 0 confirmations
- fg-0158StripeVerified Oct 2026Webhook signature check fails with 'No signatures found matching the expected signature for payload'
No signatures found matching the expected signature for payload
verified 2026-10-15 · 0 confirmations
- fg-0147StripeVerified Oct 2026json.dumps fails and price comparisons stop matching after stripe-python v15 returns Decimal
TypeError: Object of type Decimal is not JSON serializable
verified 2026-10-15 · 0 confirmations
- fg-0150StripeVerified Oct 2026Resend on an event in the Stripe Dashboard never reaches your stripe listen session
Dashboard Resend reports a delivery but nothing arrives at localhost
verified 2026-10-15 · 0 confirmations
- fg-0146StripeVerified Oct 2026Checkout Session create returns 400 for payment_method_types on API version 2026-09-30.endive
400 invalid_request_error naming the payment_method_types parameter on checkout.sessions.create
verified 2026-10-15 · 0 confirmations
- fg-0157StripeVerified Oct 2026Webhook event payloads have a different shape than the objects your upgraded Stripe SDK returns
event.data.object still carries fields your SDK types say were removed, or lacks new ones
verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them