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
According to the documentation on Changing Plans, to swap a subscription I did
$user->subscription()->swap($pricedId);
However, I am getting the error:
PaddleAPI error 'the new items are not valid for updating this subscription' occurred with validation errors ([{"field":"proration_billing_mode","message":"when changing the billing cycle only prorated_immediately, full_immediately or do_not_bill options are allowed"}])
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
According to the documentation on Changing Plans, to swap a subscription I did
However, I am getting the error:
I have tried doing
But still gets the same error.
However,
$user->subscription()->swapAndInvoice($priceId);
works.Anyone know what I am missing (if I am missing anything)?
Beta Was this translation helpful? Give feedback.
All reactions