#lesinar_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
๐ 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/1212726103408644106
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
โฒ๏ธ 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. Thank you for your patience!
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- lesinar_best-practices, 9 hours ago, 6 messages
Well we don't send any automated emails in test mode so the likelihood is that is the reason why
We tested on Live mode
Hii, need some help but not able to message in Stripe Developers server in Discord
I don't know how to trace this, and whether it's a bug or expected behavior.
๐ taking over for my colleague. Let me catch up.
Hi Tarzan
I think the email will be sent after all retries fail
the customer already has an invoice_settings.default_payment_method so that would be used to pay the subscription even if you don't pass any specific PM
oh sorry wait, I'm looking at the wrong object. give me a second
take ur time!
I managed to create a scheduled subscription in live mode again for a new customer who doesn't have a default payment method. ID: sub_sched_1Op8BvE4ldziAC9EK93ioInr. And when the subscription starts, the customer won't receive an email notifying them of the failure.
my understanding is that the dashboard configureable emails are for actual payment method failures
like attempting to charge the payment method and it gets a decline of some sort
but in this case since there wasn't any payment method to charge the failure happened on the invoice level rather than on the charge level
I think you need to listen to invoice.payment_failed event and inspect the reason why it's failing
What exactly should I look for in there? evt_1Ooh9BE4ldziAC9EfDGtjw7T
in the case where there's no charge attempt (invoice.payment_intent.latest_charge is null) this means that no payment was attempted
I think the best solution here is to collect the Payment Method ahead of time
So this is expected behavior?
AFAICT yes
the only other way that I would see this happening is if we retry the Invoice as configured by the retries configuration on your dashboard and still don't succeed then we might send an email
it's really an edge case and I'm not a 100% certain to be honest
if you want to have a clearer answer, it's best to send us an email to https://support.stripe.com/contact/email?topic=api_integration and mention that you have been in contact with tarzan on discord and giving them all of the different context that we've established
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
we can work with our internal product team to validate this for you asynchronously and get back to you with a 100% answer