#Derek Lance

1 messages · Page 1 of 1 (latest)

spiral tinselBOT
muted cave
#
  1. Correct, this is a credit note not a refund. You can choose to create a refund from it but otherwise it will remain associated with their Customer record
rigid trout
#

so at the end of the month, stripe will not do anything with this credit note? I need to manually call some api to tell stripe to do a refund?

#

if I want that behavior

#

and if so, is there a way to do this in the stripe.subscriptions.update api call? that way the refund is made immediately when the user downgrades their plan. and the whole process will happen atomically with no chance for the update to succeed, but the refund fails

muted cave
#

Correct, you will need to trigger the refund if that is what you are looking for

#

And no, there is not a parameter currently available that would trigger this in the Subscriptions API

rigid trout
#

so the problem I see, is that I want to tell the user before they downgrade their plan, that their card will be refunded for unused subscription time. but how would i actually do this in a way that it is guaranteed (e.g. atomic), if i have to make an api call first to the subscription update, and then second to whatever the "refund" API is

muted cave
rigid trout
#

i see. to me that seems less than ideal but ok thank you for the help.

muted cave
#

I can understand that and raise it as a feature request for the Subscriptions API.

#

But the question I have is, should the customer get the refund immediately when they change their subscription?

rigid trout
#

in my use case yes, that's how it would work