#hellotika

1 messages · Page 1 of 1 (latest)

alpine ingotBOT
modern wedge
#

Hi 👋

Cancelling a Subscription does not automatically generate a refund. Instead it creates a Customer credit note. What is the overall behavior you are trying to achieve here?

brazen sierra
#

i think we'll just call update subscirption with the following to get stripe subscription to stop

  • cancel_at_period_end: false
  • proration_behavior: "none",
    is this correct?
modern wedge
#

Yes that would cause the subscription to cancel at the end of the current billing period

brazen sierra
#

we want to have stripe stop the subscription immediately though, not end of current billing period

#

maybe we just call delete subscirption?

modern wedge
#

But if you are in the middle of the billing cycle it will generate Customer credit

brazen sierra
#

we can invoke the customer balance API to zero out that credit right after?

modern wedge
#

If that is what you want, yes

brazen sierra
#

thank you, i will follow up with stripe revenue recognition behavior since this channel does not offer advice for that perspective