#eugenewhite_22672
1 messages · Page 1 of 1 (latest)
Hi there, it sounds like you're talking about Address Verification:
https://stripe.com/docs/disputes/prevention/verification#avs-check
You can achieve this for postal code checks using the Payment Element (which collects postal code automatically when relevant): https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
For the line1 check, you'd need to collect a billing address to associate with the payment, either using your own UI or using the Address Element in billing mode:
https://stripe.com/docs/elements/address-element?platform=web#create-an-address-element
@cosmic grail Thanks for your reply, I have already seen that doc, the purpose is not to make payments, just to get result of matched or unmatched,
You can do the same thing with Payment Element using a Setup Intent to collect card details without payment:
https://stripe.com/docs/payments/save-and-reuse
We also have test cards to trigger various AVS errors:
There's a postal code card and a line1 test card
Ok, I will carefully check the docs you mentioned above, thanks a lot