#Amer Bearat
1 messages · Page 1 of 1 (latest)
That line doesn't usually have a material effect on the outcome of the charge, but in this case, it wasn't checked because you're using a test card.
In Stripe, when you perform an address verification check, the response will contain a property indicating the result of the verification. This property is called "address_line1_check".
The possible values of "address_line1_check" are:
"pass": The address was successfully verified.
"fail": The address was not verified.
"unavailable": The verification was not performed due to technical reasons (e.g., the card issuer does not support AVS checks).
"unchecked": The verification was not requested or performed.
this was in documentation
the field is not populated cause its test environment? @trail ruin
Can you link to the section in the docs that says that? As far as I know, it can also be null in both test and live mode
Stipe does not validate the zipcode that goes in with the card?
Stripe does, but address_line1 is different from the zipcode. It's a separate field entirely
Then, how to know if the address is valid when I'm creating the payment method?
We can send an invalid zip code that does not belong to the card
Im only talking about the zip code
That's the extent of my knowledge on what is/isn't checked. I wish I could help, but this chat is focused on developers and API integration questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
okay thanks
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i got this info from the link above
Awesome! Okay, thanks. I'll see if we can update that to have null as an option too
Do you have a test payment I can look at?
I just ran a test payment with a zip/postal provided and got a pass result
req_X1Cs6k8RmfDZVI
@pulsar hornet ^
nevermind its coming as unchecked and not null. Sorry, about the confusing : )
unchecked means The verification was not requested or performed.
how to request verification?
NP
Yes, many checks aren't perormed until auth/charge time, and are only available in the details on the resulting charge:
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-checks
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So you will need to actually confirm a payment intent using that test payment method, at which point you'd see some checks populated