#vinoth-kumar_api

1 messages ยท Page 1 of 1 (latest)

green echoBOT
#

๐Ÿ‘‹ 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/1278356743684100096

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

rustic harness
#

Adding GIF file for better understanding

unreal stream
#

Interesting, looking in to this. Does that happen when you change from any country to any other country? Or just when changing from India to another country?

rustic harness
#

Changing from any country to another country

unreal stream
#

If you open your developer console do any errors show up?

rustic harness
#

No console error

unreal stream
#

Do you have a live test page where I can see this behavior myself?

rustic harness
#

You can try this link by registering

unreal stream
#

It looks to be because the Link box is automatically unchecked but the Link form will appear again if you check the box. I am trying to figure out if this is expected behavior or not

rustic harness
#

Ok sure

rustic harness
unreal stream
#

Interesting. For me the checkbox is always present but unchecked. That behavior being inconsistent between our browsers makes this sound like something I will want to file with my colleagues that work on Elements

#

Can you send me your code for setting up your Payment Element and any relevant backend Stripe code for creating an intent or subscription?

#

I am having trouble getting my payment element to behave this way so I want to make sure I am doing as close to what you are as possible

rustic harness
#

I am sorry, sharing code is not possible. Do you have any demo where I can see the Link is showing even after changing the country?

#

Just want to confirm, whether this is our issue or Stripe issue.

unreal stream
#

We have been able to reproduce this on our side so no worries, though to be clear I was only looking for the code that initializes Stripe.js and that mounts the payment element. Looks like a change to be made on our side.

rustic harness
#

Thanks for confirming, and apologize for not sharing the code.

#

Will I get an update here once it got fixed from your end?

unreal stream
#

Not immediately sure how long the fix will take. When the fix is out you shouldn't need to make any code changes on your side though.

rustic harness
#

Ok got it

unreal stream
#

To clarify what I was talking about with the checkbox, that came from silimar restrictions whether Link can be opted in to by default or not and that does appear to be working properly. So for example I was testing starting with US as my country, the US allows things like Link to be opted in to by default so I was seeing a pre-checked "Save your info for secure 1-click checkout with Link" checkbox appear between the CC info and the Link signup form, when I switched to Germany that got unchecked and the Link form disappeared because the EU does not allow things like Link to be opted in to by default.
The issue here does seem to be specific to India. We don't show the Link checkbox if Link is shown initially but we keep if you choose a country like the US and then switch to Indie. The result is that we are either hiding it or showing it when India is selected when we should be doing the other (still confirming the right behavior) and we are correcting that so that it consistently works properly.

rustic harness
#

I am having another issue,

  1. I have added a a@email.com in link for the first time and paid
  2. Then while purchasing the second item, the link shows a@email.com as a default, but I have logged out from the a@email.com and added b@email.com
  3. Then I tried to purchase third item, but the b@email.com is not showing in the link, its asking again for registration.
    Is the above is the default behaviour or we are missing anything?
rustic harness
#

@unreal stream do I need to create the above issue as a separate one or good to discuss here?

unreal stream
#

Apologies for missing that message. I saw this, went to another thread and forgot to check back here. Looking in to this

#

Same thread is good, this was my bad

rustic harness
#

No worries ๐Ÿ™‚

unreal stream
#

For #2 are you saying that you logged out on link.com between visits to your page? Or that you log out within the payment element and add b@email.com?

rustic harness
unreal stream
#

Gotcha, testing this myself

rustic harness
#

Ok

green echoBOT
unreal stream
#

I am actually not able to reproduce the behavior that you described. Link properly persists the last email that I used to save

rustic harness
#

Let me check

unreal stream
#

Also just heard back on the original issue, the specific thing that was happening wrong there is that the checkbox should still show for India. We are working to fix it but there won't be a resolution while this thread is still active. If you want to write in to support to follow that fix you can, but as mentioned you don't need to make any code changes so it will just start working for anyone who visits your page once we release the fix.

rustic harness
#

Thanks.