#deaa-test-cards

1 messages · Page 1 of 1 (latest)

fossil badger
#

What kind of future payment? Off-session?

tribal orbit
#

yes

fossil badger
#

4000002760003184 should do it. It always requires auth

tribal orbit
#

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

tribal orbit
tribal orbit
fossil badger
tribal orbit
#

i need to create success payment at first time
and need to be failed at second time(error like insufficient funds)

fossil badger
#

There's no single card that will do that, so you'd need to update the payment method before attempting to capture/charge

tribal orbit
#

but i need to test it like a production case , without change the card
this case is very common

#

without*

north charm
#

Hi! I'm taking over this thread.

#

Can you clarify what flow you are trying to test exactly?

tribal orbit
#

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

north charm
#

So you want to first charge to work, but the second to fail?

tribal orbit
#

yes, exactly

north charm
tribal orbit
#

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

north charm
#

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.

tribal orbit
#

ok, no problem
thanks

#

but i think stripe should make testing card for this case, i think its common case