#learner-avs-check

1 messages · Page 1 of 1 (latest)

modern totem
#

Hello 👋
As far as I know you can create a radar rule to enforce it

chrome scroll
#

Is there a documentation around that?

modern totem
#

Also there's an option on the dashboard to allow radar rules on payments saved for future use

chrome scroll
chrome scroll
#

Can you please guide how can I reproduce this in test environment?

modern totem
#

What step are you stuck at?

chrome scroll
#

I use the test credit card number 4111 1111 1111 1111 - what' the billing zip for this? what billing zip should I enter to get a AVS error back in response of stripe.confirmSetup ?

modern totem
#

ah give me a moment

chrome scroll
#

How can I test a combination of Credit Card + Zip Code for AVS?

modern totem
#

That's the test card that you'd use with any zip and it'd be declined
Isn't that what you're trying to do?

chrome scroll
#

In this case, we miss one thing - this would fail for any zip. Use case is we want to ensure that Card which has a specific Zip code for billing succeeds when that billing zip code is entered, but fails for other zip codes

modern totem
#

Apologies for the delay.
I don't think we have any tests cards as such
You can create a custom rule to allow a card for a specific zip and fail on others.

chrome scroll
#

oh, how to create such a rule?