#goose_paymentelement-link
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/1218295272820441218
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share a payment intent id where this happened?
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
req_yDPwVqQoHcnqW3
Hm link is showing in the available payment methods
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
Do you have a test page published that I can look at by chance?
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)
Which of these do you do: https://docs.stripe.com/payments/link/payment-element-link?locale=en-GB#integration-options
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 ๐ญ
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)
goose_paymentelement-link
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
Let me test
filled out, nothing showed up
The cards wen't way and left the VISA - but ony change
*only
what does "the cards wen't way" mean?
where you enter the card number, on the right are all the cards accepted, when you start 4242 it changes to just VISA
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
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.
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?
No
okay so that's the problem I think
Is Link enabled in your Stripe account's Dashboard?
Like if you visit https://dashboard.stripe.com/test/settings/payment_methods you should see multiple Link options, are they on or off?
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
The top option I originally had on, but turned it off trying to debug. Thank you and look like I had something amiss
Of course! Sorry it can be so painful to debug those, even for me team ๐ฆ