#sayali-pawar_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/1425792835159982126
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi @blissful barn
Hey there, so if my understanding is correct, you want to test that the wallets are displaying, but you're unable to test as you're located in India?
Yes, that's correct.
https://staging.streetsmart242.com/embed/public/262 This is the link
So we don't provide any specific way for testing this, generally using a VPN or similar is what folks need to do in order to confirm it's working as they expect
we tried VPN and also shared the link to the client for which we are working they are in the bahamas. All of us are getting the same error of wallet for apple or google pay not supported on this device
You may try it on your end as well
you there?
No for a local Stripe account. Stripe doesn’t support businesses based in The Bahamas, so you can’t accept Apple Pay or Google Pay via Stripe locally. Stripe
Apple Pay is available to consumers in The Bahamas. Commonwealth Bank supports it as of June 3, 2025. Apple Support+2Apple Support+2
Google Wallet tap-to-pay does not list The Bahamas as supported. Google Help
Workaround: if you register your business in a Stripe-supported country (e.g., via Stripe Atlas), you can accept Apple Pay and Google Pay online through Stripe for customers anywhere. Stripe+2Stripe+2
Found this on the internet is this true?
I'm trying to reproduce from your link above, but I don't seem to be able to get past the first page. Can you give me instructions that would get me to a Stripe UI?
select the ticket, enter name and email and click on apple pay or google pay which ever button is visible to you
I saw the error popup, but in the console I see that applePay and googlePay are both set to true in the response logged
So this appears to be an issue with the custom components that are implemented on this page
In the <script> tag I shared on this thread you can see a method - onGooglePayClick()
inside it there is below code block present where I wanted to know more -
ece.on("ready", ({ availablePaymentMethods }) => {
console.log(availablePaymentMethods);
if (!availablePaymentMethods.google_pay) {
alert("Google Pay not available on this device/browser.");
return;
} else if (!availablePaymentMethods.apple_pay) {
alert("Apple Pay not available on this device/browser.");
return;
}
$host.hidden = false; // reveal mount point
});
You're logic is wrong – they're not snakecase (e.g. google_pay). They're camelcase (e.g. googlePay)
Hi?
Please be patient, we're helping other users too
Also, you never shared this code before now
Yes, Thank you very much!
It works for me now
So for whatever reason, on your device(s) availablePaymentMethods[googlePay] is false
That points to a device/client issue, not a code issue. Make sure you meet all the requirements outlined here: https://docs.stripe.com/testing/wallets?ui=payment-element#device-requirements
If you're in India, then they'll always be unavailable
did you check this on safari or chrome?
Chrome
Yes, we are trying this with a vpn connection
VPN is unreliable I'm afraid. There's no real way to test these wallets in India, as my colleague noted earlier