#autum-ashes_docs
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/1418193395070795836
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- autum-ashes_docs, 44 minutes ago, 16 messages
hi there!
but it does not support autofill.
can you clarify what that means? do you get an error message or something? a screenshot or video of the issue would help.
Please excuse me for image quality but docs itself demonstrate autofill of shipping address
I
I'm familiar with how things are supposed to work. but I sitll don't understand who things currenlty work on your end.
can you share a video/screenshot/url of your page so I can better understand your issue?
does that Link account has a shipping address saved? also, do you see any errors in the browser console?
errors on the /b url can be safely ignored, they are related to analytics.
does that Link account has a shipping address saved?
I am not sure how to check that can you guide me
I did fill both shipping and billing details during payment
are you doing this in test mode or live mode?
I am currently using sandbox mode with elements creating in setup mode
got it. my guess is your Link accounts doesn't have a shipping address saved, that's why it won't be auto-filled. I recommend asking Stripe support to double check this: https://support.stripe.com/contact
Is it a setting we need to enable?
Or the buyer shipping details are not saved?
I have one more query
Why there is no change event trigger on billing and shipping elements when a saved email is selected and details are auto filled
Or the buyer shipping details are not saved?
I'm not super familiar with Link, so not sure, sorry.
Why there is no change event trigger on billing and shipping elements when a saved email is selected and details are auto filled
so the change event is working, except when things get auto-filled?
Yes
hey there! taking over from my colleague
I'm currently trying to reproduce the issue you described
Thank you
are you perhaps able to share a testing URL for your page for us to inspect?
Ah I am running it in a simple html file
no problem! still looking into it on our end
still investigating, thanks for your patience!
we've been unable to reproduce the issue I'm afraid (the onChange event is firing in our test)
a few points to note:
- you need to ensure you're listening for the change event on the Address element: https://docs.stripe.com/js/element/events/on_change?type=addressElement
- the Address Element needs to be in 'shipping' mode: https://docs.stripe.com/elements/address-element#autofill-with-link
can you confirm your test is doing these things? if so, can you confirm if there are any errors in your browser console after the data is autofilled?
There is no error in the console post autofill
can you add a console.log inside addressElement.on('change', function(event) { ... });? and double check that you don't see that console.log when the shipping address is prefilled?
It's strange, I am getting trigger now but now shipping details are empty
Do you also experience the same issue?
Also do we have any trigger to check or track if "Billing is same as shipping information" checkbox
Hey there, taking over for my colleagues as they had to step away
Give me a moment to try and recreate this on my machine
Sure
Just letting you know that I'm still testing this - I ran your code on my machine and saw the same thing you're seeing (no autocomplete). Still investigating
Ok thanks for update
Okay, I still haven't been able to get the address to autofill. Can I send you a DM to convert this into a support case so I can keep investigating and follow up with you?
Ok