#vidyaanakru_33974

1 messages · Page 1 of 1 (latest)

manic tideBOT
small sorrel
tawny niche
#

No
I do not see the Google Pay button

small sorrel
#

that indicates that either you don't have your wallet set up or you don't have cards in that wallet

tawny niche
#

And when I click on the button, it picks up the card I have setup in the Payment Method in the associated google account

small sorrel
#

Interesting, I am surprised that this works for you with the payment request button but not the express checkout element

#

In theory those should be the same checks

#

When the chrome browser goes blank, do you see any error messages in your developer console?

tawny niche
#

One other interesting fact is, if I open the browse console and change the mode to responsive view, it works then

small sorrel
#

Yeah that is very strange that responsive mode would affect this somehow.

tawny niche
#

It works in this view

small sorrel
#

Would you happen to have a public test URL that I can see this myself on? If you can DM it to me I am happy to see if I see similar behavior

tawny niche
#

I have my app on sandbox
If it helps, I can share the steps to arrive at the checkout and payment

Please let me know

small sorrel
#

Sounds good, if you DM me the address and tell me the steps to checkout, I can test to see if I can reproduce the error

tawny niche
#

I have sent you the steps and a small demo to your DM

small sorrel
#

Thank you for the instructions. I'm testing but am currently seeing an error when I try to do guest checkout. Is that expected to work at the moment?

#

If you have test credentials that I could use to log in as well, that would also be helpful

tawny niche
#

There should be no errors. Is there a way we can do a screenshare. It might be faster.

small sorrel
#

Unfortunately I cannot do a screenshare. Will check in another browser

tawny niche
#

Can you let me know what error you see?

small sorrel
#

Apologies, now I am not having luck loading the page with the checkout button even. Not seeing a specific error for that unfortunately

tawny niche
#

How can I help you check the error with google pay? I am not sure how this issue can occur.

small sorrel
#

Not sure but trying to think on it. Maybe we can try some more standard debugging while I try to get to the right page. Does the page go blank as soon as you call confirmCardPayment? Otherwise, can you see what the last thing your code calls is when this page goes blank?

#

From what I can find, the manifest error is typically a red herring, so unfortunately no diagnostic errors from there

manic tideBOT
tawny niche
#

const paymentRequest = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label,
amount,
},
requestPayerName: true,
requestPayerEmail: true
});

            let canMakePayment = await paymentRequest.canMakePayment()

            let isPaymentOptionAvailable = Object.values(canMakePayment).includes(true)

            if (isPaymentOptionAvailable) {
                paymentRequest.show()
            }
#

This is my code

#

it stops at paymentRequest.show()
Nothings happens after this as you can see in the video demo I shared

#

paymentRequest.on('token', async (ev) => {
ev.complete("success")
resolve(ev.token.id)
})

#

This is the next set of code that is supposed to run

storm saddle
#

👋 stepping in as Pompey needs to step away

#

Catching up

#

Okay so to clarify, does the Google Pay payment modal open at all or no?

tawny niche
#

No
It does not open
The screen gets greyed out

#

Weird thing is, when I open the browse console and change it to responsive mode and click on Checkout, the payment modal shows and I can proceed with the payment. It works when I do it on a mobile browser. It does not work on a desktop browser.

storm saddle
#

Hmm that is indeed strange.

#

Thinking

tawny niche
storm saddle
#

When you say "doesn't work" you mean when you open the payment modal it is greyed out like on your site?

tawny niche
#

Yes
The modal does not show

storm saddle
#

What do you see in dev console?

#

Also, you aren't located in India, are you?

tawny niche
#

I am in India however, the same when tested in US networks also has the same issue

storm saddle
tawny niche
#

I see this in the stripe link

#

Sorry, I thought you were asking about the console errors in my app

tawny niche
storm saddle
#

Okay one sec

#

My colleague passed along your testing credentials so let me reproduce

tawny niche
#

Ok. Thank you very much.
I need to log off now.
If you have any update kindly let me know, I can take a look at it in my AM.

storm saddle
#

Okay sounds good

#

Feel free to pop back in tomorrow and someone will be around to help

tawny niche
#

Sounds good.
Thanks very much