#lewis_unexpected
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/1418215900716335168
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- lewis_ece-paypal-billing-required, 13 hours ago, 51 messages
Hey here's a screenshot of the issue that might help?
hey there! looking into your question now
can you confirm if this is happening with just a specific test card, or is the same thing happening for all test cards (including the Stripe ones such as 4242, found here)
I've tried to add test card to my Google account, but once the modal pops up, Google shows a full list of default test cards I guess?
so I'm unable to use a specific Stripe card number
the 4242 card should show up in the list of default test cards as well (it's a Visa card, if that makes it easier to find)
either way, I just tested with the 4449 card from your screenshot and I was unable to reproduce the error when testing with the demo button on this page: https://docs.stripe.com/stripe-js/elements/payment-request-button
so it seems like this issue might be specific to your integration, rather than test mode overall
no problem! also, if you have a URL for the page where you're testing and seeing the error, it would be great if we could inspect on our end
ah ok, so it at least looks like the issue isn't specific to the 4449 card
this is with stripe elements btw, not sure if that could cause different issues to the payment request button?
interesting the demo payment button doesn't work for me at all
is there a registration google pay requires? seems very weird that Apple pay is fine
I've added the domain to my Stripe dashboard
do you mean the 'demo' button in this Stripe page? if so, is the button showing for you?
https://docs.stripe.com/stripe-js/elements/payment-request-button?client=html#demo
yes the button loads fine, but clicking it does nothing for me?
that's odd - the fact the option is being rendered suggests that your device/browser supports Google Pay, so it sounds more like an integration issue, but then the demo button should work for you
https://docs.stripe.com/google-pay?platform=web#test-google-pay
is there a URL you can share for your testing page? since this sounds more like an integration issue
also do you have any errors in the console when you click the demo button?
unfortunately the test deployment is behind a vpn atm
I'll try check
I’m not seeing any errors logged
hey there, taking over for @digital anchor as they had to step away
Can you clarify what exactly happened when you visited the Stripe demo page? You mentioned the button loads fine, can you tell me what exactly happens when you click on the button?
https://docs.stripe.com/stripe-js/elements/payment-request-button?client=html#demo
hey! when I load the test page the button loads fine, but clicking it does nothing, it only seems to be an issue for Google pay
this does work on my deployment but the test cards always timeout
Got it. That button should show a modal with Google Pay, so if that's not working, then this doesn't seem to be an integration issue. It could be a browser issue, or something else along those lines. Can you go through this to make sure your device and browser are set up properly?
https://docs.stripe.com/testing/wallets?ui=payment-element#device-requirements
with this example here https://docs.stripe.com/elements/express-checkout-element?locale=en-GB it all loads correctly
this example fully works ^ but when I replicate it on my website, the Google pay modal loads for around a minute then fails with REQUEST_TIMEOUT
Got it, can you share details of your integration? Is it a website or a native app?
its a website, I'm using Stripe elements express checkout identical to the documentation here's a snippet
const stripeElement = stripeElements.create("expressCheckout", { billingAddressRequired: true, emailRequired: true, layout: { overflow: "never" } });
I have Google pay and Apple pay enabled, testing Apple pay works completely fine, but the Google modal fails all test cards with "REQUEST_TIMEOUT"
oh weird its just worked
let me get others to confirm quickly lol
Interesting. Maybe a network issue? Keep me posted
will do! I appreciate the help with this
really weird, I've been testing this all yesterday and today always getting this same error, but seems to be working perfectly now
Definitely weird, it makes it seem like it's a Google Pay issue specifically
yea I think it may be a Google issue, my friend tried to test but is still getting the same issue:
which isn't very useful I think?
Yeah, unfortunately this wouldn't show up on Stripe's side
Since you had issues yesterday and today and it started working now without changing any of the Stripe integration code, this means the issue isn't with your Stripe integration. Could be Google Pay, could be browser update related, etc.