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
During Subscription item updateQuantity if Subscription hasSinglePrice (src/SubscriptionItem.php from line 118) I am getting error, that in $stripeSubscriptionItem->subscription->status, subscription is not and object. And that is true, because in stripe-php/lib/SubscriptionItem the property subscription is string type.
In the past I see, that there was no stripe_status update and I think it is unnecessary. Temporary I've made patch for my own purposes and it works fine.
Description:
During Subscription item
updateQuantity
if SubscriptionhasSinglePrice
(src/SubscriptionItem.php
from line 118) I am getting error, that in$stripeSubscriptionItem->subscription->status
,subscription
is not and object. And that is true, because instripe-php/lib/SubscriptionItem
the propertysubscription
is string type.In the past I see, that there was no
stripe_status
update and I think it is unnecessary. Temporary I've made patch for my own purposes and it works fine.patches.zip
Steps To Reproduce:
Try to fire
$subscriptionItem->updateQuantity($value)
for subscription with single price.The text was updated successfully, but these errors were encountered: