#bender-address-check

1 messages ยท Page 1 of 1 (latest)

plush wagon
#

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

leaden elbow
#

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.

plush wagon
#

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?

leaden elbow
#

Yeah, sorry I'm still learning the lingo.
I have a Source object with id src_123

plush wagon
#

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)

leaden elbow
#

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

plush wagon
#

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?

leaden elbow
#

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.

lyric lodge
#

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?

leaden elbow
#

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

lyric lodge
#

Can you give me an example Charge ID so I can take a look?

leaden elbow
#

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

lyric lodge
#

Taking a look, hang on...

#

You can see there the billing_details in the response are all null because you didn't provide any.

leaden elbow
#

Got it. How exactly do I add that information?

#

Does it need to be added to the original token used to create the source?

lyric lodge
#

You can add it to the Token, yep, I think that's the recommended approach.

leaden elbow
#

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

lyric lodge
#

You can also update the Source with the information later, I believe.

leaden elbow
lyric lodge