#rafal_api
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/1272539079723974666
๐ 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.
Hi there ๐ it's hard to say for sure without more context about how you're building your integration. If you're referring to using one of our elements, those automatically detect the browser being used and show the supported wallets.
Are you seeing something in your testing that is giving you the impression that isn't happening?
I need to check again, thanks
Oh, sorry, I just noticed you said you're working with the Express Checkout Element. That one does automatically detect if a supported wallet is set up for use, and only shows the corresponding wallet if so.
The reason you would use always there is if you want to force a wallet option to be displayed even if your customer doesn't already have a card added to it.
but you see on Windows I have link, I would like to have Google Pay, why I dont have?
Are you using Chrome? Do you already have a card added to the Google Wallet of the Google account that you're signed into?
The OS is less important than the browser.
Chrome, I am not signed in on google now, I have to be to show Google pay?
If you're relying on our automatic detection, yes. By default we don't show Google Pay or Apple Pay if they aren't already set up for use. Meaning the browser/device is associated with a corresponding account that is logged into, and that the account already has a card added to the corresponding wallet.
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#payment-button-control
but when I go here: https://dashboard.stripe.com/settings/payment_methods can i set google pay to display always?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
No, not from that dashboard page.
but how to make it always be seen - in code? by paymentMethods.googlePay = always?
Yup
If you want to always show Google Pay when the customer is using a supported platform, you can set its property in paymentMethods to always.
https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-paymentMethods-googlePay
But again, it's more about the browser being used than the OS. For instance a customer using Firefox on Windows can't use Google Pay.
so even if I do this to always in code, someone on Firefox still won't see Google Pay?
I don't believe so, nor should they.
I dont understand
If I would be on Firefox and set in code as Always for google pay
I would see the button or not?
I don't believe so
But would need time to test to say that with certainty, which you may be able to do faster than me if you have your test site running
Okay, thx