#robotuner
1 messages · Page 1 of 1 (latest)
Next time feel free to ask your question in the same thread you already have open 👍
Thanks, I thought about that, but felt like the topic was slightly different. Will stick to this thread
Let me go through your questions one at a time
*Does the state of the invoice affect the enum, such as setting the status to Past_due when payment cannot be processed due to the credit card expiration? *
Yes, the state of the latest invoice affects the status of the subscription - an active subscription can always transtion to past_due if the latest invoice hasn't been paid before it's due date.
*At what point does the subscription status gets changed from active to something else? *
That really depends on which status you're referring to - an active subscription can transition to almost all of the other statuses (except for incomplete and incomplete_expired)
How does stripe determine if a customer subscription is expired or even canceled and not simply past due?
I'm not really sure what you mean by that question - can you clarify?
I was thinking about that. Is there any "state" of an invoice that will cause a subscription to be expired or canceled? Expired must happen if an invoice isn't paid on time. I'm assuming that should the user come back and pay (days or weeks past due) the subscription is resumed, but when /how is a subscription canceled? Is it by the subscriber canceling from the website?
The only time the "state" of an invoice would cause a subscription to be cancelled is if you have it configured in your settings (https://dashboard.stripe.com/settings/billing/automatic). Specifically the setting for "If all retries for a payment fail,..." under the "Manage failed payments" section
Also what do you mean when you say "expired"? Do you mean "incomplete_expired"?
OK, I reread the status enums description, I'm beginning to get it now.
By far, you guys are the very best that I have encountered!
Did you still have any other questions on the cancellation, or did rereading the description clear things up?
I am looking at the status description for the subscription object. "For collection_method=". I went back to the payment-Links page and decided to create a new subscription product. I don't see a setting for collection method anywhere. Is the default Charge Automatically (which is what I want)? or is there somewhere else that sets this?
Yes, for payment links the collection_method would always be charge_automatically