#sargis-avetisyan_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1257975400315879437
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
You can update the billing_cycle_anchor (only set it to "now"): https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_cycle_anchor
To send Invoices, set collection_method="send_invoice": https://docs.stripe.com/api/subscriptions/update#update_subscription-collection_method
So if i set billing_cycle_anchor="now" it will change the current period date today's date, right?
Correct. It will also create a prorated Invoice immediately.
and will it charge for that invoice immediately?
Yes
Can we set it up so that it will change the date without charging?
It's working in the same way, but sends an Invoice instead of charging the Customer
It will send once after the end of the cycle if the payment is not completed, and then try again, right?
And, I will still continue receiving webhook events, right?
I believe it won't send a new email.
But what happens with the subscription when the customer does not pay the invoice?
It will transition to status=past_due
ok, thanks
Happy to help.