#gt-gareth_code
1 messages ยท Page 1 of 1 (latest)
๐ 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/1341549217273090249
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! As far as I know there's no way to have Link fill the Address Element with anything other than a shipping address: https://docs.stripe.com/elements/address-element#autofill-with-link
Let me poke around a bit though...
Thanks for taking a look. Seems hard to believe it wouldn't prefill billing!
Ah, yeah, it's flagged as an outstanding feature request internally and doesn't look like it's been implemented yet. There's no ETA for it happening.
oof
What about making shipping mode more like billing mode, for example hiding the "Billing is same as shipping information" field?
Backing up a bit, I want to make sure I understand your use case more. Do you need the shipping address? Are you shipping anything?
No, I'm not shipping anything. This is a straight-up donation page.
Do you need a full billing address or just the parts of the address required for the payment?
interesting question. it depends. some donations will have to satisfy political fundraising laws, so name, street address, city, and zip.
There's not really a way around it, then. The people making donations will need to fill out their full billing address in the Address Element.
If you didn't need all of that info you could use the Payment Element by itself without the Address Element at all.
Thanks for the suggestion. Last question I think, I don't suppose there's a way to query, on the front-end or otherwise, the address data that Link has on file for a user?
No, there isn't.
In a lot of cases I don't think the full address info is going to be present, even the shipping info. If your goal is to make the donation process as seamless as possible requiring people using Link to type out their full billing address with the Address Element is going to be as close as you can get. The Address Element does a pretty good job of making the address entry process quick and painless.
thanks for talking through this
Happy to help!
as an outstanding feature request internally and doesn't look like it's been implemented yet. There's no ETA for it happening.
also can you ++ that ^^ request for me
๐
Yep, will do!