#adityalystlocdeveloper_33428
1 messages · Page 1 of 1 (latest)
Hello! 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.
- adityalystlocdeveloper_33428, 19 hours ago, 5 messages
- adityalystlocdeveloper_33428, 21 hours ago, 19 messages
- adityalystlocdeveloper_33428, 2 days ago, 37 messages
- adityalystlocdeveloper_33428, 2 days ago, 21 messages
can you share the request id where you've cancelled the subscription?
evt_1OKfzZARWDrZZuifNhA6O6vw this is the event id
that subscription is closed but last month payment is not collected automatically
the invoice was generated but auto-advance changed to false cause the subscription was cancelled, hence the invoice was never finalized and charged to the customer. I think the only way to go about handling this is update the invoice again to set autoadvance back to true, or to manually finalize and charge the invoice
can we do with the help of invoice.created
wii modify invoice autoadvance to true at the end
invoice. created
no, you should listen for the subscription customer.subscription.deleted because the auto-advance is set to false when the subscription is deleted
ohhhh
their we need to modify
how to set that value true again
any code snippet
we don't have any code snippet, but this is the API reference : https://stripe.com/docs/api/invoices/update#update_invoice-auto_advance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
alex will call that stripe create record any time right
if i want to keep count time that how many times that api called
then i will call create record during each call by 1?
with increment
this is another question
bascially i am charging user for api calls that user did