#alok_link-error

1 messages · Page 1 of 1 (latest)

woeful saddleBOT
#

👋 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/1387170192861429881

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

quick zinc
#

Hello!

woeful saddleBOT
woven quartz
#

Can you share a bit more detail about exactly what you're trying to do, including steps i can follow to do the same thing as you?

quick zinc
#

I have downloaded a sample code by referring stripe documentation

#

I'm trying to test Link Payment Method locally

#

I could see the Link Payment Method, but after i submit the payment and reopen the form for new transaction with same email id i dont see Link suggesting the payment cards

#

Which i had used previously

lean sage
#

alok_link-error

#

I'm happy to help but rifght now all you shared is a picture of your monitor.
We need you to explain the exact error you get, which exact part of the code is failing, etc.
I know you downloaded a sample app but it's still real code running on your computer that you need to debug first

quick zinc
#

This is after i have run the local application

#

I had submitted a test payment with same mail id and also accepted the option save the info fo secure 1-click checkout with link

#

But on 2nd time when i enter the same mail id i expect it should have created a link account and suggested me the previous card details

lean sage
#

I don't really recognize your integration. This doesn't look like PaymentElement for example.
Sorry you seem quite lost and send picture of your monitor instead of screenshot and exact object ids and you seem to be on your phone so I'm struggling to help you

quick zinc
#

Can i send the video of the behavior?

lean sage
#

Not really a video won't help me. I need to focus on your code and exact example objects to start.
Have you picked your integration? Would Checkout be much easier for you maybe to start?

quick zinc
#

Yes

lean sage
#

yes to which part? There are 2 questions

quick zinc
#

This higlighted part

lean sage
#

I'm sorry but can I ask you to stop sending pictures of code with your phone? I want to help but I need to see real code formatted as text here, not just pictures

#

But okay you are using LinkAuthenticationElement. Is there a specific reason you do that? I haven't seen anyone use this in months and it's uncommon overall.
It works, I just want to understand how you ended up picking that one

quick zinc
#

Currently we are using card payment method only

#

We want to explore to other payment methods such as wallets

#

Or even a quicker checkout option for the customer

#

Thats why we thought to test the link payment method before we go live on production

lean sage
#

Okay so you already have an integration fully live? I'm a bit confused since you said you just downloaded a quickstart sample

quick zinc
#

Yeah we have a live one, but i dont have the application in my current system

#

So i downloaded a sample app

#

With the test mode credentials

lean sage
#

okay let me see if I can reproduce

quick zinc
#

Sure thanks

lean sage
#

ugh sorry getting completely stuck, I barely use this element myself so it's going to take me a while

#

I think you need to start to debug this end to end on your end too and share exact information of how you did that Link account first, which PaymentIntent it was used one, etc.

quick zinc
#

can i share the screenshot of the checkout form from my desktop

lean sage
#

A screenshot won't help. I need exact object ids like pi_1234, cus_1234 etc

quick zinc
#

pi_3Rdeo6LsRZKIA2Z61COZmlQd

#

here you go the payment intentid

#

also sending the screenshot how i'm submitting the payment
at the bottom you would see Link Option

lean sage
#

Okay so that PaymentIntent was confirmed with PaymentElement after all and not CardElement

quick zinc
#

right

lean sage
#

gotcha, sorry I completely misunderstood your ask earlier

#

I just tried, as soon as I type an email that has a Link account on my test mode account it just works for me

#

Maybe it's because you are based in India?

quick zinc
#

ohh!! are there geographic restriction?

lean sage
#

https://docs.stripe.com/payments/link at the top says

Country availability
Link isn’t available in India. In Brazil and Thailand, the Payment Element doesn’t support Link.
But I'm never sure if it's the merchant's country or the customer country or both

But really to me it looks like you didn't really sign up for Link properly yet
In Test mode Link accounts are specific to just your own Stripe account. For example I have a Link account in Test mode under lol@lol.com but if you use that email address you won't see it.

So my guess is you haven't properly done Link in Test mode on your Stripe account yet

woeful saddleBOT
quick zinc
#

hmm probably it could be due to restriction of the country. May be i would check with my collegue from US. Thanks for the information. Thanks for your time!!