#lafafm
1 messages · Page 1 of 1 (latest)
Probably both
But right now I'm interested in recurring ones
And what collection_method are you using?
E.g. Customer have not default payment source attached
First invoice was paid by out_of_band
And when the recurring invoice appearing - it's possible that we won't mark it paid out_of_band
collection method is default, but customer have no attached source
Does this answer your question?
If subscription collection_method=charge_automatically it becomes
past_duewhen payment to renew it fails andcanceledorunpaid(depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.
https://stripe.com/docs/api/subscriptions/object#subscription_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Also note there are many settings here about this: https://dashboard.stripe.com/settings/billing/automatic
when payment to renew it fails and canceled or unpaid
Is there any way to cancel or mark invoice unpaid from API?
I tried voiding invoice, but the subscription remains active in this case
What is your end goal? Cancel the subscription?
If subscription collection_method=charge_automatically it becomes past_due when payment to renew it fails and canceled or unpaid
I'm trying to get a subscription in past_due state by changing it's invoice status via API