#CMarabate
1 messages ยท Page 1 of 1 (latest)
Hello ๐
This isn't something that Stripe APIs support out of the box really.
You'd need to check if the customer has an existing subscription already and make API requests accordingly to update the sub
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Hmmm okay thanks
I can give you some pseudo code (in JS) I if you're interested @neon rose
Very interested, thank you!
ok... give me a sec
Tried to send that to you but it keeps telling me:
Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons here
Oh.. I was able to zip it
Thanks, and is this meant to be run using something like a Netlify Function call to a Stripe webhook endpoint?
@neon rose I recommend chatting directly with @thorn hill about this if you're still blocked!