You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a Stripe subscription with a null latest_invoice (ie. by creating the subscription with a back dated start date), calling latestInvoice() will throw a TypeError.
Laravel\Cashier\Invoice::__construct(): Argument #2 ($invoice) must be of type Stripe\Invoice, null given ...
I would think this should fail silently and return null?
Steps To Reproduce:
Create a Stripe subscription with a backdate_start_date.
Load the subscription into your Cashier Subscription model.
Call latestInvoice().
The text was updated successfully, but these errors were encountered:
Description:
If you have a Stripe subscription with a null
latest_invoice
(ie. by creating the subscription with a back dated start date), calling latestInvoice() will throw a TypeError.I would think this should fail silently and return null?
Steps To Reproduce:
backdate_start_date
.latestInvoice()
.The text was updated successfully, but these errors were encountered: