#seth2970

1 messages · Page 1 of 1 (latest)

deep matrixBOT
#

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.

safe birch
#

Hello

drowsy light
#

Hello

safe birch
#

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.

drowsy light
#

How can I test a payment failure scenario that requires updating the payment method?

#

I mean integration tests in my app.

safe birch
#

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.

drowsy light
safe birch
#

Yes

drowsy light
#

And no queries are sent in the custom payment url ?

safe birch
#

I'm not sure what you mean by that

drowsy light
#

in this link

#

no queries are sent ?

#

like the invoice id

safe birch
#

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

safe birch
#

You likely want to include auth at the redirect page

drowsy light
#

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?

safe birch
#

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

drowsy light
#

My question is, why does it process the three failed payments immediately?

#

oh sure ?

safe birch
#

It likely doesn't do them "immediately"

#

But have you looked at your retry settings?

drowsy light
#

this ?

safe birch
#

Yep

drowsy light
#

so it's okay no ?

safe birch
#

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

drowsy light
#

Thank

#

A lot

#

Have a great day