#ashish_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1310720297220968520
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, I do not think so. When you pass send_invoice, https://docs.stripe.com/api/subscriptions/create#create_subscription-collection_method we will attempt to send an email. Why would you want this behavior?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Basically we have implemented one time payment subscription. We work around by creating 1 year and don't want to charge them on future payment. Which we did by updating payment_method to send_invoice.
So there is no option to disable from sending invoice email ? May be we can update payment_method to null or something like that ?
Or is there way to cancel the subscription at the end of period ?
If it's one-time payment, why are you using subscriptions?
At that time we have not implemented one time product
Does changing to cancel_at_period_end to true will send email ?
In this case, you can just cancel the subscription: https://docs.stripe.com/api/subscriptions/cancel
I don't want to cancel right away, but after end of the subscription.
Ah, in that case what you found should be good: https://docs.stripe.com/api/subscriptions/update#update_subscription-cancel_at_period_end
do cancel_at_period_end will send email even though the payment_method is send_invoice ?
๐ stepping in for my teammate
Thanks
I want to know if payment_method to send_invoice and subscription has cancel_at_period_end to true. Will it send an email before cancelling the subscription or it will get cancelled before sending an email to client
I don't believe an email reminder will be sent. However, we're not experts on email settings nor Dashboard settings in this channel. I recommend reaching out to our Support team about this: https://support.stripe.com/contact/
Does having cancel_at before the end period will automatically send the refund?