#seth2970
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
Hello
Hello
Mostly we don't send emails in test mode so as not to spam people.
I don't believe that you can test that specific email, though you can try putting in the email of the owner of your Stripe account as the Customer email and see if it sends.
Overall we just focus on the API so I don't know too much about these specific Dashboard settings -- we do send certain emails, like Invoices, in test mode to the owner email on the account if you use that specific email.
How can I test a payment failure scenario that requires updating the payment method?
I mean integration tests in my app.
You can't test that email itself as far as I know.
In terms of testing in your app, you mock the necessary responses for the things that would take place.
so the only documentation about billing testing is this one ? https://stripe.com/docs/billing/testing?locale=en-EN#payment-failures
Yes
And no queries are sent in the custom payment url ?
I'm not sure what you mean by that
Ah actually if you click on that little "eye" icon there you can send a test email that way
I wasn't aware of this as I'm really not familiar with the Dashboard as i noted
No no URL params are sent
You likely want to include auth at the redirect page
Okay, and I have another question regarding the simulation clock. When I advance one month in time, it immediately processes three failed payments if I use an invalid card, and then it cancels the subscription. Is it not possible to set the subscription to past_due instead?
That depends on your retry settings
You likely need to advance for less time to have it in a past_due state before all the retries have been triggered
My question is, why does it process the three failed payments immediately?
oh sure ?
Yep
so it's okay no ?
Try advancing 4 days instead of a month
Then only the first retry will be triggered
And you should see your Subscription past_due
Or even just advance 1 day
Before the first retry
Any amount of time after the initial failed payment but before all the retries have been triggered