#yonatan3455

1 messages · Page 1 of 1 (latest)

opal helmBOT
#

Hello yonatan3455, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
yonatan3455, 0 days ago, 6 messages

loud dove
#

hi! do you have more context like the exact customer ID cus_xxx, what you'e seeing and what you expected to see instead?

rapid harness
#

this is the customer id: cus_O1fFCyMifjqDWl
The subscription is cancelled on oct 20, but there an invoice payed on Oct 22, and the user claims they re activated the subscription

loud dove
#

yes, it's possible for customers to pay an open Invoice after a subscription is cancelled, generally it's recommened to explicitly void all open Invoices when cancelling a subscription as well

rapid harness
#

invoices are voided automatically when a subscription is cancelled with an auto refund

loud dove
rapid harness
#

I set up in Stripe settings that when a subscription is cancelled (through Stripe billing portal), the next invoice is cancelled and a refund is issued

loud dove
#

was that subscription cancelled through the billing portal though? I think it might just have been cancelled due to the recurring payments and retries failing.

rapid harness
#

ok, so why the invoice was open if the subscription is cancelled?

loud dove
#

as far as I know that's just a quirk and is why it's generally recommended to explicitly void the Invoices when the subscription is cancelled

rapid harness
#

is there way in the settings to void failed invoice automatically so it won't be payable?

#

this is weird as it is already set to "uncollectible" when the payment failed

loud dove
#

not sure though, you'd have to look at the settings in that page

rapid harness
#

just did, see the image above

loud dove
#

then sounds like there is no option for it

rapid harness
#

so what should I do in the future?

loud dove
#

listen to the customer.subscription.deleted webhook and then list Invoices for the subscription and call the Void Invoice API on any that are status:open, I think