#bender-address-check
1 messages ยท Page 1 of 1 (latest)
Hey @leaden elbow! It depends a bit what you call "a source" because it means many different things in our API
First: Why do you create a Token? Those have been "deprecated" for over 3 years now. Any new integration should use PaymentMethod and PaymentIntent instead
It's a source of a card payment I believe.
I'm working in an existing system which currently works with sources and this specific workflow uses a token to create a source.
okay, so it's really really important to use the right words, which is annoying because we don't make this clear and easy
Do you have a Card object with the id card_123 or a Source object with the id src_123?
Yeah, sorry I'm still learning the lingo.
I have a Source object with id src_123
damn Source for card payments are so rare
but then why do you even have a token ๐
anyyyyyway. The Source would be updated to reflect the status checks after we talk to the bank (usually on the first charge)
So my issue is that for visa cards, we get charged for AVS fees, I assume these specific checks. Is it possible to update/include this information somehow?
I think we use the token because the payment is coming from apple pay.
My Owner stripe object I see from the source has a verified_address as null, if that helps at all...
I guess I'm just confused because it seems like the AVS check should happen but isn't, and I'm unsure what field needs to be updated in order for it to happen
sorry there's so much in this little question and so little things documented around this behaviour
we never guarantee an AVS check at the time the Source is "saved" to a customer
we might run it, we might not, depends on a lot of factors internally for our risk engine overall
what are you really trying to answer?
I appreciate the help, it's a bit hard for me to explain.
So Visa charges an AVS fee for refunds and some charges. From my perspective it seems like the AVS information isn't available to stripe/visa and the AVS check is performed and we're charged an extra fee.
I'm viewing a stripe charge and I see that my billing_details is populated, but my payment_method_details checks are not.
So my real question is, how can I avoid these AVS fees since it seems like I'm correctly populating the customer information.
Hello! I'm taking over for @plush wagon, give me a minute to get caught up...
To clarify this point:
From my perspective it seems like the AVS information isn't available to stripe/visa and the AVS check is performed and we're charged an extra fee.
Are you saying it seems like AVS info isn't available at the time you charge your customer some non-zero amount? If so, can you explain why it seems that way? Do you have an example Charge ID I can look at?
To clarify, I believe we're providing the proper AVS information, however after a refund occurs for specific orders address_line1_check, address_postal_code_check, and cvc_check still appear as null. So I believe AVS is available, and I'm unsure why these checks are not populated and why we're getting charged an AVS fee
Can you give me an example Charge ID so I can take a look?
here is my charge id: ch_0IZbj6xB06eZOUF3Kk0DW2qd
It looks like the cvc check passed but the address and card address line 1 checks returned null
Taking a look, hang on...
It doesn't look like you provided a billing address or billing postal code for that one, only a shipping address. Have a look at this request in your Dashboard: https://dashboard.stripe.com/logs/req_3sYPpzXARjaTkM
You can see there the billing_details in the response are all null because you didn't provide any.
Got it. How exactly do I add that information?
Does it need to be added to the original token used to create the source?
You can add it to the Token, yep, I think that's the recommended approach.
The charge https://stripe.com/docs/api/refunds/create#create_refund-charge is created from a source https://stripe.com/docs/api/charges/create#create_charge-source
And our source is created from a token.
Got it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can also update the Source with the information later, I believe.
I can update the owner data in the source https://stripe.com/docs/api/sources/update#update_source-owner-address-city
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This would be where you update the Source: https://stripe.com/docs/api/sources/update#update_source-owner
I believe, but am not 100% sure, the info there would be used as the billing info for a Charge. I'm not as familiar with the specific behavior of these older APIs.