#goose_paymentelement-link

1 messages ยท Page 1 of 1 (latest)

raw wedgeBOT
#

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

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

frosty karmaBOT
junior inlet
arctic lantern
#

Can you share a payment intent id where this happened?

junior inlet
#

I know I haven't give you much to go on, but not sure what to ask exactly.

#

Yes, give me a moment

#

where do Isee those logs agin?

#

nvermind I found it

junior inlet
#

req_yDPwVqQoHcnqW3

arctic lantern
#

Hm link is showing in the available payment methods

junior inlet
#

Right - it is weird but as you can see from the image, it's not showing up on the page

#

(never has, for weeks now) I am just getting to the point I need it to

arctic lantern
#

Do you have a test page published that I can look at by chance?

junior inlet
#

No this is all on local development

#

I am trying with a diff browser ATM

#

No doesn't show up in MS Edge either (Or from my Apple device when I am tunneled in)

arctic lantern
junior inlet
#

First one, currently passing in the customer email.

#

But my understanding if you aren't doing that, the question still is there for you to use link

#

I just removed the code that passing in the defaultValues (email address and name) and it still doesn't show up ๐Ÿ˜ญ

arctic lantern
#

Can you share your code?

#

For passing in email

junior inlet
#

paymentElementOptions = {
layout: "tabs",
defaultValues: {
billingDetails: {
name: "Paul Giesenhagen",
phone: '888-888-8888',
email: "pgiesenhagen@gmail.com",
},
}
};

#

then

#

const paymentElement = elements.create("payment", paymentElementOptions);

#

But if I just send this

paymentElementOptions = {
layout: "tabs",
};

It should still show the option of using link (ie setup link)

frosty karmaBOT
torn canyon
#

goose_paymentelement-link

arctic lantern
#

Ok I tested some things out. If the email you're are passing in is not associated with a link account already, you won't see link at the top. Instead, you'll need to fill out the checkout form completely and then you'll see a save payment method with link checkbox at the bottom

#

after you've filled out card num, expiration, cvc, zip, etc

junior inlet
#

Let me test

#

filled out, nothing showed up

#

The cards wen't way and left the VISA - but ony change

#

*only

torn canyon
#

what does "the cards wen't way" mean?

junior inlet
#

where you enter the card number, on the right are all the cards accepted, when you start 4242 it changes to just VISA

torn canyon
#

yes because we detect that 4242 is a visa and we show a logo for it. Many payment forms do that

#

If you try 5200828282828210 which is our MasterCard test card it would show that logo

junior inlet
#

Sure - i was just saying - she said to fill out the form and the link would show up, but it didn't and the only thing changed was the card.

torn canyon
#

yeah okay let's take a bit of step back, I don't really follow what you wer asking at all earlier on after reading the history.

Let's remove all default values entirely: do you see Link?

junior inlet
#

No

torn canyon
#

okay so that's the problem I think

#

Is Link enabled in your Stripe account's Dashboard?

junior inlet
#

yes

#

Ok figured it out

torn canyon
#

yeah the first one is off

#

it's super confusing, definitely not just you/ We're in the midle of making those default to active, but trying to not affect existing users so it's a bit messy

junior inlet
#

The top option I originally had on, but turned it off trying to debug. Thank you and look like I had something amiss

torn canyon
#

Of course! Sorry it can be so painful to debug those, even for me team ๐Ÿ˜ฆ

junior inlet
#

Ok thanks - you guys are great! I will let you go help another sorry soul

#

Have a good one