#geimsdin
1 messages · Page 1 of 1 (latest)
hello! gimme a second to get back to you
ok
i don't think there's a great way to go about this really. The only way I can think of is to note down the remaining phases and then cancel/release the Subscription Schedule. If/when the customers makes payment for the unpaid invoice, then create a new Subscription Schedule
wow... that's a mess on my code... I just was sure that the subscription pauses until the current phase has been paid.
hmmm
ultimately though, even if the phases continue, the invoices are generated and left as open right?
what do you expect to happen when a subscription "pauses"?
sub_1LmuZpLmxBucQd158CvBtdoE
This is an example, second phase not paid, third phase paid and subscription ended.
My expectation is that the subscription pauses because the phase is not complete unless is paid.
The invoice is generated and left as unpaid at the moment
to be more specific, what do you expect to happen when a subscription pauses? Do you expect invoices to not be generated? And/or will you stop providing services?
If a payment is not received correctly the customer enters in a grace period of x days, if he fails to pay in those days the services will be suspended.
Yes, it is unuseful to generate the next invoice if the previous has not been paid
unfortunately no other way other than what i described. The behaviour is expected - https://stripe.com/docs/billing/subscriptions/pause#pausing-subscription-schedules. You do make a fair point though and I'll pass on the feedback.
Thanks Alex. Last question for now: how can I retrieve by API a paymentlink related to an unpaid invoice? Seems I cannot find it in the docs
Found it, thanks
Can I trigger the payment request email form Stripe by API?
In case a payment fails and after 2 days (for example) I want the client to receive a reminder
Stripe will automatically send a reminder if you've configured it
these emails aren't sent in test mode though (in case you were planning to test it in test mode)
you can use https://stripe.com/docs/api/invoices/send