#lkpatir
1 messages ยท Page 1 of 1 (latest)
Yes
I was typing the long message with all description but here it didnot allow
Yeah so Google Pay isn't supported for India: https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india
So that's why you are seeing these issues
Hi Bismarck..Thanks for your reply..I saw it already but it doesnot seem to be due to my India location because of below reasons
- I changed my IP from India to London, UK by a VPN and got the same result eroor
- A friend of mine located in the US tested my link by screen sharing but there also we got the same error
- going by this thread: https://stackoverflow.com/questions/51745057/test-google-pay-with-stripe
Is your Stripe account located in India?
it seems somebody from India already tested it successfully with $1 debit
No, my account is froma client in the UK
Yeah sure
sorry, please go here
just select the 26th March from calendar
and add to cart and proceed
sorry, i think so
Okay looks like you are using your own Google Pay button and not Payment Request Button, correct?
you need to click on the "Credit / Debit card" button
you can login to my account to avoid filling billing shipping
abcd1234
then you will see the "GPay" button at last screen
Alerts don't work well with Payment Request Button
They essentially break the modal
So try removing that
And then run another test
yeah, but that's only if my paymentmethod event is triggered
the evnt itself is not triggered
I can remove it for you right away
Yeah remove it and then let me test again
removed
I have tested in below devices
HP Laptop Windows 11 Home Single Language Chrome Version 111.0.5563.65 (Official Build) (64-bit)
sometimes the "GPay" button used to appear but now no longer appearing
in the same setup, in inspect mode, while in responsive mobile version, it appears but payment fails
similarly, in my Samsung Galaxy android chrome browser have the same issue...GPay button appears but payment fails
then I changed my test key to live key when the "GPay" button itself disppears
I reloaded page and am still seeing the alert
can you please clear cache?
Okay so now I see this is working fine
The issue is now in your confirmCardPayment
I see: (index):1 Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a client secret of the form ${id}_secret_${secret}. You specified: pi_3MmHBCH2kh59mHO80YG4uw8D.
So you need to fix your client secret
let me do one thing...for the sake of testing i will remove all this code...2 minutes please
this is the only code now
paymentRequest.on('paymentmethod', async (e) => {
log(e);
});
please clear cache and reload browser
if e is logged in console, i will be more than happy ๐
Got a google-pay.js:52 Uncaught (in promise) ReferenceError: log is not defined
But yeah it all works fine
Yes it logs correctly
do you mean you are able to make payment?
I was successfully able to create a PaymentMethod yes
No can't do that but
pm_1MmHIKH2kh59mHO8ZsHu0ZUQ is the PaymentMethod ID if you want to check in your account
ok...would you mind telling below details?
Device details
Browser
Card number used
Your location
i need to confirm back it's due to my India location
I'm based in the US
I can't share any other details
You need to perform your own testing here
It is especially suspect that you are asking for a card number
Sorry
mistakenly copy pasted
actually I dont need card number but just wanted to check if you were using real card or stripe test card
It is required to use a live card to test Google/Apple Pay
hmm
We then swap it out for a test card so the live card won't actually be charged
But you can't go through the flow without a live card
this is where Stripe support could not confirm me
Thank you so much Bismarck
is it ok for you to tell me wheteghr you used mobile or laptop and chrome browser?
I'm on mac w/ chrome browser
Thanks a lot
so apparently it's due to my India location right?
but actually I was on Wondows 11 HP latop with chrome browser, i assume tgis is not an issue
issue is due to India location only?
Yes issue should be the india location
I really appreciate your support...I was really in need of such a confirmation from outside India...Thanks a lot again..take care
Happy to help
Cheers !!