#julia_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/1417587280075292753
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Are you logged into your google wallet? If not, the button wouldn't how.
can you see the Google Pay button under Payment Request Button tab here on Chrome?
https://docs.stripe.com/testing/wallets?ui=payment-request-button-element
If not, I'd recommend troubleshooting steps listed in the doc above
I'm not expecing googlePay to appear but i would expect link
the link button does display
so i was expecting the response from canMakePayment to include link: true
instead it's returning null
Is link enabled on your account under payment method settings?
yes - when I use the ExpressCheckoutElement component it appears
Sorry, it appears on your own page or the doc I shared above? Just to make sure we're aligned ๐
Gotcha. I think Link availability might be different between Elements.
Have you registered the domain where you're integrating this? Is the site remotely accessible?
If so, can you share the URL?
I see link here
yes that's working
Can you share the URL where it's not working?
but i'm trying to use paymentRequest.canMakePayment(); in the background to know in advance what options will be available
i'm doing this locally
I don't think it'll show on localhost. You need to serve over HTTPS and register the domain you are testing with - https://docs.stripe.com/stripe-js/elements/payment-request-button?client=html#prerequisites
- Serve your application over HTTPS. This is a requirement both in development and production. One way to get started is to use a service such as ngrok.