#Feetscha

1 messages · Page 1 of 1 (latest)

vocal skiffBOT
orchid ledge
signal token
#

hey sure give me a second

#

req_4nGHzUufcDciJy

orchid ledge
signal token
#

ah okay I'll try that, sec

#

thanks that seems to work but I still have another issue with upgradiing. let me test for a second to explain my problem

#

the customer cus_NWvSQNOSXw987h just made a subscription to my basic plan and then upgraded to have a second subscription item as well. afterwards I wanted to upgrade the the subscription again and remove the new subscription item again. in my case I need to refund the customer because of proration I guess, but I rather let him use the feature for the remaining period.

orchid ledge
#

Sorry, not understanding the issue

#

in my case I need to refund the customer because of proration I guess, but I rather let him use the feature for the remaining period.
Sounds like you want to schedule the update?

signal token
#

yes I want to schedule the update in case the user removes an item of the subscription but not when he adds a new one, because then I want him to use the feature right away. But when I schedule my subscription when a user cancels an item I would need to let him know that he successfully canceled the item right away even though it didn't happen yet. is there a way to do that?

orchid ledge
signal token
#

I think so too, but I feel like I have troubles implementing that because removing and adding items to the subscription is both a subscription update where the client sends the priceIds he wants to update. So he could both add a new subscription and remove another one where I want to schedule the removed item when the period ends and add the other one immediately

#

*so he could both add and remove a subscription item at the same time, where I want to schedule the removed item when the period ends and add the other one immediately

orchid ledge
#

Well you can't update a Subscription directly if its controlled by a Schedule. So maybe you just need to go all in on the Schedule

#

Otherwise there's not really anyway to do a downgrade/upgrade update at a specific interval without a Schedule. Other than scheduling that update yourself, via a queue/cron or similar

signal token
#

but how do I let a client know that he canceled the subscription when it actually didnt happen yet? is there a way to handle that via stripe ?

#

because I want to let him know he canceled the subscription item and can use its item for the remaining time, but when I just schedule that I dont really understand how to implement that other than having my own logic for that

orchid ledge
signal token
#

okay got it, thank you.
Is there a webhook that listens for when I schedule a subscription update? (not when the update actually happens)

orchid ledge
#

Yeah, there's subscription_schedule.* events

signal token
#

okay found them. thanks a lot and sorry for the rather confusing questions.

orchid ledge
#

np! hope that helped