#PyroFiire
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? Are you perhaps referring to using send_invoice instead of charge_automatically on Subscriptions? https://stripe.com/docs/api/subscriptions/create#create_subscription-collection_method
I use charge_automatically
In that case the state of the Subscription will be governed by your settings in the Dashboard here following a failed payment (scroll down to the Manage failed payments section): https://dashboard.stripe.com/settings/billing/automatic
Subscription status
If all payment attempts fail :
What do you mean by "leave the subscription as is"?
(laisser l'abonnement en l'état)
That means the Subscription won't be changed as a result of the failed payment. If it was active it will continue to be active.
I did some simulation tests for a subscription from 5 to 5.
- On the 5th of the following month, an invoice is issued at status draft and the subscription is still active. it's ok.
- If the 6th is a Saturday, the subscription remains active but payment is not initiated. Until Monday the 7th.
I guess this is the normal behavior and I should leave the access to my service between the 5th and the 7th?
What's more, if I want to use the smart retries function, which relaunches 8 times in 1 week, I imagine that the subscription will remain active for another 1 week if it's not paid?
Are these bank transfer payments? Is that why nothing happens on the weekends?
Yes, I think so, I'm using the 4242 test card.
That shouldn't matter then, card payments should happen regardless of weekends. How did you test this? Did you use a Test Clock?
I'm looking for a way to remove the means of payment from the simulation timer in order to check the status of the subscription the following days.
Yes i use test clock
Ok I advanced to 7 and the payment took place... sorry
You can advance the clock a bit, detach the Payment Method from the Customer, then move the clock forward to a payment date.
I will test
I guess the best thing is to leave access to my service for 1 week, even if the subscription is "past_due".
Then I cut access if it goes "unpaid" or "cancelled".
In your opinion should I use unpaid or cancelled? I'm having trouble understanding the difference it makes to access a service.
It's really entirely up to you. We try to provide enough flexibility in the Subscriptions system to accommodate for various use cases. This page may be of help if you haven't read through it: https://stripe.com/docs/billing/subscriptions/overview