#iamyounus_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/1351852920672358423
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ can you tell me a bit more about the behavior that you're seeing? Do you have a screenshot showing where the email value that your'e referring to is remaining, so I can better understand what your concern is?
yeah sure
As soon as Stripe element loads it loads that link with pre-filled value , now this email was not used by this user but another user using this same browser .
Steps were following:
User 1 logged in pay using link and then logged out of app
User 2 logged in try to pay and link is already prefilled with previous user email
Are you using the Link Authentication Element in your flow, or just the Payment Element?
payment element
Can you break down your testing steps for me more? I'm testing against my test page, and I'm not seeing what you're describing.
Steps I'm taking:
- Access a page with a Payment Element integration
- Provide an email address associated with a Link account.
- Completing the 2FA challenge
- Refreshing the page
- At this point I see the email address prefilled, and that is expected behavior as the presence of an existing Link cookie is detected.
- Log out from Link (I did this from with the Payment Element)
- At this point I no longer see the previously used email address, nor do I see it populated when I refresh the page
Yeah on logout it is logging out .
My case is in my app when I logged in as user A and use link then I logged out of my app not link and then logged in back using User B creds then it is prefilled with that user A email.
Now i guess link are tightly tied with out browser session that is it detects same browser and show me that email
Yes exactly, the Link session is not tied to any user authentication on your end. Link sets and checks its own cookies in the browser for tracking whether a customer is logged into a Link account.
If you're using a flow where multiple customers will be using a single device/browser to complete payments, that's likely not a good use case for Link unless you can forcibly clear the browser's cookies in between customers.
can we clear cookies on logout and get rid of it from our end because those cookies are set from stripe server
To confirm, you want a kill to end an active Link session?
can we? I just need to experiment few things I know it sounds stupid and kill whole purpose of link itself
That's not supported no