How can I swap subscription prices with instance charges without proration/unused time? #50387
Unanswered
loremipsumyaya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need help with Laravel Cashier for my app. Users can buy two kinds of Stripe Subscriptions called Basic and Pro, for monthly or yearly credits that can be used in the app.
I have a problem when users switch from Basic to Pro:
But when I use
$user->subscription('default')->swapAndInvoice($newPrice)
, it changes the bill for the time not used on the old plan, which I don't want if they still have credits.How can I stop the adjustment for unused time when changing plans?
Thank you very much for your assistance in advance!
Beta Was this translation helpful? Give feedback.
All reactions