invoices
2 traces
- Stripe: invoices.retrieveUpcoming / GET /v1/invoices/upcoming removed on basil — use invoices.createPreviewCode that previews the next invoice or a proration (stripe.invoices.retrieveUpcoming({ customer }), GET /v1/invoices/upcoming, /v1/invoices/upcoming/lines) no longer exists in the SDK types or fails on the new API…
- Stripe: invoice.subscription is gone on basil — use invoice.parent.subscription_details.subscriptionIn an invoice.paid / invoice.paymentsucceeded webhook handler, invoice.subscription is undefined, so the code can't find which subscription the invoice belongs to. Fix: Invoice items use…