#dineshkumar_docs

1 messages ยท Page 1 of 1 (latest)

next orbitBOT
#

๐Ÿ‘‹ 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.

feral ingot
#

Hi ๐Ÿ‘‹ I'm not sure what you're asking, can you elaborate on your question or what is blocking you?

thorny beacon
#

We need to test payment failed cases

#

example:

  1. card exipred on payment or renewal subscription
  2. card invalid on payment
  3. card no balance on payment or renewal subscription
feral ingot
#

Gotcha.

#
  1. 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

#
  1. Same as 1, you can't test insufficient balance specifically, but you can test a general decline
thorny beacon
#

if payment failed on renewal for insufficient balance and card expired , the email will send to customer?

feral ingot
#

What email?

thorny beacon
#

your card is exiped email.
your card have no balance.
like that...

feral ingot
thorny beacon
#

yes, correct those emails..

#

those email we can't test on Live mode?

feral ingot
#

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.

thorny beacon
#

ok i will check doc..

#

thanks for help!