#xx9007
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- xx9007, 3 days ago, 18 messages
Are you hosting your website via https ?
Yep
Do you have a live endpoint that we can access ?
When you open this page do you see Google Pay button ?
https://stripe.com/docs/stripe-js/elements/payment-request-button
Yes, I see the button on this url.
As for a live deployment, I have a preview environment setup:
https://feature-th-10096-dont-merge-me.preview.coderings.com/
Getting to the checkout can be a bit of a ride, so let me provide a few steps:
- Change the locale to UK if you're not in there. Others have stricter address validations during the checkout.
- Quickest way is through ordering a wedding ring: Main Menu -> Wedding rings -> Browse our collection, pick any one from the catalog, enter any ring size and press add to cart. Any email and name are fine.
- When on the payment method step, a refresh creates a new payment intent (in case you need to test)
Can you share with me a test account (login/pass)
One moment
That's not very easy as the preview environment doesn't sent emails and we generate random passwords. You can easily create one when you press "Add to cart" on any product and enter any valid email and name.
I will try to provide one, but it may take a bit more time.
I invite you to share some login information in order to try reproducing the issue and see if there is Google Pay button displayed or not.
You can use the following url:
https://feature-th-10096-dont-merge-me.preview.coderings.com/eu/cart/view?authToken=JxhxyBFmcmZnv3b2ccoz8M38xdQFDkkDnmpmnbWMhZ0gohXqO3ywJjtSl6l1CHEyiITchfISJID86XhCmdhZpo7QdFqCbJgbBdX5cnuacOGype4VJIboDnhA1zUGJhf4Is
It will log you in and take you to the begining of the checkout process.
Great! thanks, now could you please share your account Id ?
YcNkb4llAkoJxDVdN3rzYrcQdsYkka37
I meant your Stripe Account Id ? acct_124
Where can I find this in the dashboard?
Hi! I'm taking over this thread.
Can you share the acct_xxx ID that's is at the top of this page: https://dashboard.stripe.com/settings/account
ah yeah that's possible. give me a few minutes to look into this.
and can you share a PaymentIntent ID (pi_xxx) with this issue?
Google Pay is turned off in your account settings https://dashboard.stripe.com/settings/payment_methods?platform_id=pmc_0NmkMJYcNkb4llAkZgtKsILz
We are using test mode on the preview environment. As you can see, Klarna is also turned off in live mode, but visible in the website.
And in test mode it is enabled.
I have used the javascript from this page: https://stripe.com/docs/payments/payment-element
It, in turn, creates an iframe, I believe.
yeah that's expected. but did you put that code in an iframe yourself?
that could explain why Google Pay isn't showing up.
Nope, it's called directly in the html of the page.
hum... still looking into this.
actually the issue in explained in the browser console:
It looks like you're using an older Stripe key. Some features in the Payment Element are disabled unless you're using use a modern API key, which is prefixed with 'pk_live' or 'pk_test'.
Ookay, will update the key and test again. Thanks!
so you'll need to roll your publishable key in your Stripe dashboard
Would there be a way to create a new one then delete the old one? I don't want to have downtime.
yeah you'll get that option when trying to roll the key:
Brilliant! Thanks!