#lord-arach_code

1 messages ¡ Page 1 of 1 (latest)

proud kayakBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278188474062868587

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

gaunt mason
#

hello! The zip code that is passed in when filling up the payment details in the payment element is for Address Verification Service (AVS) for the card payment. It's not saved under the Customer

#

why do you need the zip code?

clever valve
#

to track locations for our clients. We track it via the online payments

#

All transactions through our website checkout collects that data for demographics. We just can't get anything back for it from the terminal payments

gaunt mason
#

onesec, I'm a bit confused. So you want to collect postal code for terminal payments?

clever valve
#

if it's possible. Not sure if it is through the customer expand

#

That code snippet is from our terminal collection and is pretty much the same as the online collection but we get the info back from online payments

#

but we can strip references out of the terminal code if we cannot get any of that info.

proud kayakBOT
gaunt mason
#

gimme a second to take a look at how your card present payments look like

clever valve
#

Thanks!

gaunt mason
#

hrm, i know Stripe doesn't collect any zip code info for card_present payments. It doesn't look like you're passing in any zip code info too from what I can tell in the payment

#

you're not passing in a Customer id for the PaymentIntent too

clever valve
#

That's fine then

#

We were just curious because we didn't know what to expect while using the test card

#

Thanks for looking!