#sayali-pawar_code

1 messages · Page 1 of 1 (latest)

spark doveBOT
#

👋 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.

zealous elbow
#

Hi @blissful barn

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?

zealous elbow
#

Yes, that's correct.

blissful barn
#

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

zealous elbow
#

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?

blissful barn
#

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?

zealous elbow
#

select the ticket, enter name and email and click on apple pay or google pay which ever button is visible to you

blissful barn
#

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

zealous elbow
#

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
});

spark doveBOT
inner shore
#

You're logic is wrong – they're not snakecase (e.g. google_pay). They're camelcase (e.g. googlePay)

zealous elbow
#

Hi?

inner shore
inner shore
zealous elbow
#

Yes, Thank you very much!

zealous elbow
#

Let me try the camelcase and confirm

#

we are getting the same error again

inner shore
#

It works for me now

#

So for whatever reason, on your device(s) availablePaymentMethods[googlePay] is false

#

If you're in India, then they'll always be unavailable

zealous elbow
#

did you check this on safari or chrome?

inner shore
#

Chrome

zealous elbow
#

Yes, we are trying this with a vpn connection

inner shore
#

VPN is unreliable I'm afraid. There's no real way to test these wallets in India, as my colleague noted earlier

zealous elbow
#

Ahh, I see. I will ask my client to check this in the bahamas.
Please keep this thread open till our client confirms.

#

Thank you very much for your help

#

I appreciate it