#Piercy-checkout-link

1 messages · Page 1 of 1 (latest)

fringe forgeBOT
formal mesa
#

It denotes that the payment was completed via a payment method saved on the Stripe network via Link

#

In some of our UIs, users have an option to save their details for future usage which are then available across all Stripe merchants

deft wadi
#

Does it attach a new payment method or does it only use existing payment methods on the customer?

formal mesa
#

Link cards aren't stored as Payment Method objects on your account if that's what you're asking

deft wadi
#

Yeah, i think that explains it

#

thanks

formal mesa
#

np

deft wadi
#

Sorry I have further questions. When looking at events I see:

"xxx@gmail.com was charged us$76.69" in February last year.

Was that the email address the address on the account at the time, or is that just stripe being helpful and displaying the current email to make it easier to read?

stark blade
#

Can you share the eventId ?

deft wadi
#

evt_3Ka33SDD3nZJlvMp0oTmTaPZ

#

events page shows "xxx@gmail.com was charged".

And what I am trying to work out is wether that email was on that account, at the time of the event.

or if thats just stripe showing the current email to make it easier to read.

stark blade
#

That's the customer current email. it's fetched from the Customer object

deft wadi
#

ok thanks

deft wadi
#

on a checkout session, if I see consumer_found: true, under link settings, does that tell us link was used and that it found information using it?

stark blade
#

if I see consumer_found: true
Where you are seeing this exactly ?

deft wadi
#

req_oYpHvtDpde4wcW

#

ON this request, in the response body theres consumer_found: true

#

Line 129 of the response

#

So we're thinking that this payment method was attached using link, and were thinking that field confirms it

stark blade
#

So you want to see how you can check if Stripe Link was used when setting up the PaymentMethod... let me double check this.

verbal anchor
#

Piercy-checkout-link

deft wadi
#

Thanks, I think we have made sense of what we were seeing. So it would just be good to confirm that link was used during that payment method attach.

verbal anchor
#

Hi 👋 jumping in as my teammate needed to step away. I see the fields that you're referring to, but it's the first time I'm seeing it and am not finding it in our documentation so I'm not sure what it represents.

deft wadi
#

ok thanks.

verbal anchor
#

I did a bit of testing, and ran two test payments where one did use Link while the other did not. consumer_found was false when I didn't use Link. I'd still be hesitant to rely on the field since we don't document its expected behavior, but it does seem like your suspicion is right about it helping identify whether Link was used. If you do try to hook on that value, I would strongly recommend you test thoroughly and make sure that field is behaving the way you think.