#deaa-test-cards
1 messages · Page 1 of 1 (latest)
yes
4000002760003184 should do it. It always requires auth
i will told to you may case, i have website to hotel reservation, i need to create reservation in pay as normal, i need to extend number of day, when customer need to pay, may be he dost have enough amount
i will test it now
not working, i need not 3ds auth
i need to create success payment at first time
and need to be failed at second time(error like insufficient funds)
There's no single card that will do that, so you'd need to update the payment method before attempting to capture/charge
but i need to test it like a production case , without change the card
this case is very common
without*
Hi! I'm taking over this thread.
Can you clarify what flow you are trying to test exactly?
ok
the customer create reservation on my site for example 4 day in hotel
hi paid using his card and everything is ok
may be he want to extend the period from 4 to 5 days
i need to charge from his card the extra money for 1 day
but maybe he don't have enough money and stripe will return insufficient funds
how can simulate this case in testing?
i need to charge from card he paid first time
So you want to first charge to work, but the second to fail?
yes, exactly
If so, yes you would need to change the card of the customer to use a card that will decline https://stripe.com/docs/testing#declined-payments
is there any way to do it without change the card
because on production customer don't change the card, any i need to test it as production
No sorry. If you want the first charge to fail and the second one to decline, then you have to use 2 different test cards.