#gje-downgrades

1 messages ยท Page 1 of 1 (latest)

fleet wagon
#

๐Ÿ‘‹ happy to help

flat hemlock
#

hi so im confused as to how to swap plans

#

i have two products that i have users purchase on checkout

fleet wagon
#

using the API?

flat hemlock
#

yup using stripe webhook in django

#

currently for upgrading, im refunding the user based on their remaining duration, and replacing their subscription by deleting the old one

#

but im not sure how to go about doing downgrades

fleet wagon
#

have you had the chance to look at the doc I sent you earlier?

flat hemlock
#

but i still dont rly get how to use that function...

fleet wagon
#

you need to update the subscription and pass in the items array an object with the id coming from the current subscription item and the new price