#chau_api
1 messages ยท Page 1 of 1 (latest)
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.
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252540597278085131
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, how did you integrate it exactly?
I will share code
Just the type of integration is fine for now
Please make sure all these requirements are met: https://docs.stripe.com/stripe-js/elements/payment-request-button?client=html#prerequisites
const express = {
wallets: {
applePay: 'always',
googlePay : 'always'
}
}
this.expressCheckoutElement = this.stripeElements.create('expressCheckout', {options: express});
this.expressCheckoutElement.mount('#express-checkout-element');
const expressCheckoutDiv = document.getElementById('express-checkout-element');
// expressCheckoutDiv.style.visibility = 'hidden';
// expressCheckoutDiv.style.height = '0px';
this.expressCheckoutElement.on('ready', ({availablePaymentMethods}) => {
console.log("๐ ~ this.expressCheckoutElement.on ~ availablePaymentMethods: ok ok ok ok", availablePaymentMethods)
});
when I run with safari
But when I run with google
it will undefined when I run with google
and it will googlePay : false when I run with safari
all these requirement for google pay
Chrome 61 or newer.
An activated Google Pay card or a saved card.
A registered domain.
This is my chrome.
What do you see on your page right now?
An activated Google Pay card or a saved card.
~ this.expressCheckoutElement.on ~ availablePaymentMethods: undefined
with a div tag express-checkout-element under pay now will display google pay but we don't see it displayed.
<div id="express-checkout-element"></div>
Do you see any errors in your console?
Failed to download or decode a non-empty icon for payment app with "https://pay.google.com/gp/p/web_manifest.json" manifest.
It is error, I see in my console.
What's the domain?
No, where are you located right now. I can see the account is AE
How can I get to a screen that has the Google Pay issue on your site
Afraid not
Is there a way I can send it to you privately?
Send me what?
How to access our website.
Here is fine, you can delete it once done. Otherwise you can write in to my team: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Where are you located?
It needs my mobile number?
For login, right?
Yes
Try incognito, disable any browser extensions
Assuming you have saved cards in your Google account and you're signed into that account in Chrome
Otherwise, I'm not sure
I still can't see it with the incognito browser
I signed into that account in Chrome and have saved cards in your Google account
Do you have third party extensions enabled?
Yeah I've no idea I'm afraid. I know we don't support Google Pay for India customers (hence why I asked your location): https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Yeah I'm not sure what else to suggest. This seems likie some kind of locale restriction, perhaps set by Google? It's not an integration issue clearly as it's rendering and working for me here
Do I have to verify this to show google pay?
Maybe? I don't know
To be clear, that is not a Stripe requirement. You should speak to Google
Is your google pay display account verified?
Hey! Taking over for my colleague. What you mean exactly ?
Maybe yes, when opened your website we were able to load Google Pay
So yes try to validate your account first.
thank you