Closed skeemer closed 6 months ago
Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!
Cashier Stripe Version
14.13
Laravel Version
10.26
PHP Version
8.1
Database Driver & Version
No response
Description
When calling
$someSubscription->errorIfPaymentFails()->updateQuantity(...)
, if the item is in the database, it passes the call to the SubscriptionItem without passing on the payment behavior specified.It looks like Concerns\InteractsWithPaymentBehavior is missing setBehavior() if you match the way Concerns\Prorates works.
Steps To Reproduce
$someSubscription->errorIfPaymentFails()->updateQuantity(...)
This will create an unpaid invoice rather than erroring.