#NoPostOnSundays-billing-address
1 messages · Page 1 of 1 (latest)
(thank you for creating a thread, new here)
Hey there, this is not required though some parts can help with bank auth rates & fraud:
https://stripe.com/docs/disputes/prevention/verification#avs-check
Mostly, this means postal codes where that is used
NP! It helps us stay organized per question to keep things in one place 🙂
Okay, great. I should've mentioned that I'll mostly be accepting payments from UK to begin with.
from the docs you sent me: ". Radar includes a rule to block any payments that fail postal code verification", how would I go about submitting the postal code to stripe for verification?
I see this page mentions collecting the info:
https://stripe.com/docs/radar/checklist
"to further improve fraud detection, we highly recommend you collect the cardholder name, customer’s full billing address and postal code, and their card’s CVC code during checkout."
But it doesn't mention how to go about doing that. I have a small snippet of code that doesn't contain any sensitive info. Can I paste it to show you how I'm sending the payment?
Right, so a couple things
Elements by default will collect just the postal code for appropriate countries. You can turn that off, but we recommend keeping it enabled.
To provide other billing address details you can do that with additional parameters in the confirm call
Are you using the Card element or the Payment Element?
With the Card element you would provide billing_details as seen in this example:
https://github.com/stripe-samples/accept-a-payment/blob/main/custom-payment-flow/client/html/card.js#L63-L73
To enforce the postal code check you need to set up a radar rule using the address_zip_check attribute:
https://stripe.com/docs/radar/rules/reference#supported-attributes
Ah of course! On my local machine it's marked as 'zip code'. I'm using the Card Element and I already have a form on the checkout page where I can collect the billing address so that's easy too
I think that's everything, thank you so much
Great! Happy to help 🙂
Have a good one!