#lkpatir

1 messages ยท Page 1 of 1 (latest)

clever hedgeBOT
shy sable
#

Hi there

#

Hmm are you located in India?

mint stream
#

I was typing the long message with all description but here it didnot allow

shy sable
#

So that's why you are seeing these issues

mint stream
#

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

#
  1. I changed my IP from India to London, UK by a VPN and got the same result eroor
#
  1. A friend of mine located in the US tested my link by screen sharing but there also we got the same error
shy sable
#

Is your Stripe account located in India?

mint stream
#

it seems somebody from India already tested it successfully with $1 debit

#

No, my account is froma client in the UK

shy sable
#

Okay

#

Do you have a link where I can reproduce the issue?

mint stream
#

Yeah sure

#

sorry, please go here

#

just select the 26th March from calendar

#

and add to cart and proceed

shy sable
#

I have to fill in all of this info? ๐Ÿ˜…

#

Okay got there

#

Give me a moment

mint stream
#

sorry, i think so

shy sable
#

Okay looks like you are using your own Google Pay button and not Payment Request Button, correct?

mint stream
#

no

#

I am using "Payment Request button"

#

once you are heer

shy sable
#

Ah okay I see

#

I was looking too far within the div

mint stream
#

you need to click on the "Credit / Debit card" button

#

you can login to my account to avoid filling billing shipping

#

abcd1234

shy sable
#

Ah okay

#

I see the issue

#

You are using an alert

mint stream
#

then you will see the "GPay" button at last screen

shy sable
#

Alerts don't work well with Payment Request Button

#

They essentially break the modal

#

So try removing that

#

And then run another test

mint stream
mint stream
#

the evnt itself is not triggered

#

I can remove it for you right away

shy sable
#

Yeah remove it and then let me test again

mint stream
#

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

shy sable
#

I reloaded page and am still seeing the alert

mint stream
#

can you please clear cache?

shy sable
#

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

mint stream
#

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 ๐Ÿ˜€

shy sable
#

Got a google-pay.js:52 Uncaught (in promise) ReferenceError: log is not defined

#

But yeah it all works fine

mint stream
#

sorry..my bad

#

change to console.log(e);

#

please check now

shy sable
#

Yes it logs correctly

mint stream
#

do you mean you are able to make payment?

shy sable
#

I was successfully able to create a PaymentMethod yes

mint stream
#

wow

#

Would you mind sharing screenshot please?

shy sable
#

No can't do that but
pm_1MmHIKH2kh59mHO8ZsHu0ZUQ is the PaymentMethod ID if you want to check in your account

mint stream
#

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

shy sable
#

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

mint stream
#

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

shy sable
#

It is required to use a live card to test Google/Apple Pay

mint stream
#

hmm

shy sable
#

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

mint stream
#

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?

shy sable
#

I'm on mac w/ chrome browser

mint stream
#

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?

shy sable
#

Yes issue should be the india location

mint stream
#

I really appreciate your support...I was really in need of such a confirmation from outside India...Thanks a lot again..take care

shy sable
#

Happy to help

mint stream
#

Cheers !!