#dchao_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/1382782996620509345
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
To make sure I'm understanding you clearly, you are expecting Link to present itself but it's not presently even with the email information pre-filled?
My understanding is that if the email is not already associated with a Link account, the option to save the information to Link will not present itself until after card details have been collected in order to maximize conversion. If the email address is already associated and the email form is populated with that email Link should present.
Details on how to prepare a sandbox Link account can be found here: https://docs.stripe.com/payments/link/card-element-link#test-link-in-the-card-element
expecting Link to present itself but it's not presently even with the email information pre-filled
yup!
after card details have been collected
Does this mean after they've made a purchase, or after they finish typing in all the field info? I haven't tried typing it in yet - so let me do that and get back to you
Oh, ok I see it after I've typed all their info in!
It's causing the payment element to be super laggy though - have there been any reports on that before?
Details on how to prepare a sandbox Link account can be found here: https://docs.stripe.com/payments/link/card-element-link#test-link-in-the-card-element
It seems like I have to make a purchase in order to create the link account. Since our service is a subscription service, it's a bit awkward to get testing setup such that the user can make multiple purchases. Is there a way to create it ahead of time, that way when I enter the payment screen for the first time, it recognizes my email and autofills?
Yup after typing it in,
I don't believe I've seen reports regarding it being laggy. Did this only start happening when you started pre-populating the email information?
Could you go into more detail regarding what you are trying to test. Apologizes i'm not fully grasping the flow here.
Sorry for the delay , just got back from a meeting
I don't believe I've seen reports regarding it being laggy. Did this only start happening when you started pre-populating the email information?
Yup! Normally the payment element is quite fast, but after adding the code in the snippet the card entry part of it in particular is extremely slow (multiple seconds) to respond.
Hi ๐
I'm taking over for my colleague who had to go.
Let me see if I can repro what you are seeing (I have a Vue-based test integration running currently)
Hi! Thanks for the help again - for reference here's what it looks like, I'm not sure I understand when or how the Link popup appears, but I suppose that's not something I need to worry about either.
As far as lagginess goes, there's a lot of lag switching between the card -> bank tab, as well as a lot of lag on the input validation (card number not allowed)
Hi! Thanks for the help again - for reference here's what it looks like, I'm not sure I understand when or how the Link popup appears, but I suppose that's not something I need to worry about either.
The link pop-up appears if the email address provided is already associated with a Link account.
I see - in this case though the link section has disclaimers for By creating a Link account, which makes me think I don't have a link account associated with that email
As for the lagginess, I'm not able to replicate
No worries, I was also very surprised by the lagginess, maybe I'll try on a different staging server and see if it persists
Were you using the payment element before intent? https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup#web-collect-payment-details
Was curious if you think that might be a potential cause
One behavioral question - is it possible to use Link, but not have the Bank tab appear in the payment element? We'd like to see if we can just use link for cards, and would rather not give users the option to purchase via Bank
Ah I am using an intent-first approach but I can test with the deferred intent approach as well
Okay I'm not seeing the lag with deferred intent either. All element functions (validation, type switching) are occurring with the same speed as when I don't include a default email.
Thanks for looking into it! If y'all have any more time to help, could you answer this question as well
Hi hi! Iโm going to be taking over for my colleague here. Can you please summarize where things are at for me, and what issue(s) is/are blocking you?