#dhruvs

1 messages · Page 1 of 1 (latest)

sterile voidBOT
zinc harbor
errant prairie
#

Hmm... give me a few minutes to dig through some docs

zinc harbor
#

Thank you so much

#

Essentially I'd like to give the user a chance to enter their email and pay at the same time

errant prairie
#

I think you'd be able to get it back if you retrieve the resulting PaymentIntent server-side and checking receipt_email, does that work for you?

zinc harbor
#

I need to get it client side 😦

#

Will it have to be a custom field then?

errant prairie
#

Yeah I don't think there's a way to get that from the Link authentication element client-side right now - but you could try retrieving the Payment Intent client-side as well and seeing if that works

zinc harbor
#

Also is the link-authentication element much different from using the payement request button which contains link?

#

Thank you

errant prairie
#

I don't think they're much different - it just depends on if you want to use the PaymentElement (in which case I'd recommend the Link Authentication Element) or if you want to use the PAymentRequest BUtton by itself

zinc harbor
#

Got it. The problem currently is that if I use the link authentication element then the customer needs to fill email twice (since one is the custom email field I created to access the input client side)

errant prairie
sterile voidBOT
zinc harbor
#

Thank you so much

#

will I not need link authenticator element if I use above method?