< BACK_TO_SONAR
[ ACTIVE DEPRECATION DETECTED ]

Stripe API / stripe-invoicepayment-intent-and-invoicecharge-fields

Severity
High
Ecosystem
npm
Release Tag
Latest
Deadline
Immediate
Confidence
100%

>> Is your stack affected?

Paste your package.json below to instantly check if your application relies on this deprecated Stripe endpoint.

No Card Required
Migration_Guidance
🚨 **Primary Error:** TypeError: Cannot read properties of undefined (reading 'client_secret') - invoice.payment_intent is missing ✅ **Resolution:** Read payments through the InvoicePayment object (invoice_payments) instead of invoice.payment_intent / invoice.charge before pinning API version 2025-03-31.basil or later.