#b33fb0n3_docs

1 messages · Page 1 of 1 (latest)

quartz oakBOT
#

👋 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/1235842382243561534

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

uncut condor
#
{
    name,
    address: {
        line1,
        line2,
        city,
        state,
        postal_code,
        country,
    },
},
solemn crown
uncut condor
solemn crown
#

so from that event, you can see the keys you should be retrieving right?

uncut condor
#

yea?

solemn crown
#

so assuming that the customer has keyed in their details, you can retrieve those values from the change event

uncut condor
#

I know

solemn crown
#

i'm not sure I understand what's the issue since you can retrieve those values from the change event?

uncut condor
#

my issue is, where these values are saved within stripe when using the address element to proceed a checkout process

solemn crown
#

Are you using the Address Element with the Payment Element?

#

and only to collect the Billing Address?

#

If that's the case, then you can find the billing address on the PaymentMethod. If you have an example PaymentIntent id, i can point you to it

uncut condor
solemn crown
#

okay, then I recommend making a payment so that you can see where the addresses are saved to

uncut condor
solemn crown
#

To be clear though, If the Address Element is integrated alongside the Payment Element, and the customer indicates that billing address is different from the shipping address - the only details collected for the billing address are still only the country and conditionally the postal code.

If you want to collect both a full shipping address and billing address with the Address Element where those addresses differ, one suggestion that I can make is to use/mount two separate Address elements and conditionally render one depending on the ‘billing details same as shipping’ checkbox to collect the full billing address details to pass into confirmPayment.

uncut condor
# solemn crown To be clear though, If the Address Element is integrated alongside the Payment E...

I don't want to collect the billing address. I just want to collect the shipping address and after that the payment details via the Payment Element and then the user can checkout. If the billing address is needed to proceed the user will need to enter it via the payment element.

This billing address is not from interest for me. I am only interested how the *shipping * address with name is saved.

solemn crown