#Codex - Subscriptions
1 messages ยท Page 1 of 1 (latest)
HI ๐
You can cancel a subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you. have accepted payment already
otherwise you could void the invoice that gets created
Ahh I see. What do you mean by accept payment already? Doesn't subscription.create automatically accept payment if there are no errors?
That depends on how you have configured your subscriptions
I see. thank you so much
Is the user on-session or do you email them an invoice?
we email an invoice
Okay so in that case the user may or may not have paid that invoice.
If they haven't, you just void the invoice. If they have, then you can issue a refund or a credit that gets applied to a later invoice
Ah alright, it makes sense now. Thank you for the help