#dineshkumar_docs
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/1362047696092926106
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- dineshkumar_docs, 20 hours ago, 83 messages
- dineshkumar_docs, 1 day ago, 22 messages
- dineshkumar_error, 4 days ago, 9 messages
Hi ๐ I'm not sure what you're asking, can you elaborate on your question or what is blocking you?
We need to test payment failed cases
example:
- card exipred on payment or renewal subscription
- card invalid on payment
- card no balance on payment or renewal subscription
Gotcha.
- You can't test an expired card decline specifically on a Subscription renewal. The closest you can get is a generic declined payment, by using the card at the very bottom of this section that can successfully be attached to a Customer, but then results in declined payments:
https://docs.stripe.com/testing?testing-method=card-numbers#declined-payments
4000000000000341
You'll probably want to use test clocks to be able to test the Subscription lifecycle more rapidly:
https://docs.stripe.com/billing/testing/test-clocks
- Provide invalid data for the card. Some examples are in the Invalid data section of the guide you linked to:
https://docs.stripe.com/testing?testing-method=card-numbers#invalid-data
- Same as 1, you can't test insufficient balance specifically, but you can test a general decline
if payment failed on renewal for insufficient balance and card expired , the email will send to customer?
What email?
your card is exiped email.
your card have no balance.
like that...
I'm guessing you're talking about these emails, in which the case it depends on whether you have them enabled:
https://dashboard.stripe.com/settings/billing/automatic
Those emails are only sent in testmode if the criteria explained in this section for testing those emails are satisfied:
https://docs.stripe.com/billing/revenue-recovery/customer-emails#test-your-configuration
Livemode isn't testing, they will work in livemode. They can also be tested in testmode, if you follow the guidance provided in the last doc link I shared.