#muthu-checkout

1 messages ยท Page 1 of 1 (latest)

whole nebula
peak yacht
#

Hi Team.. Kindly check the above thread amd help me

whole nebula
#

Hi there, the code you have shared is from the legacy checkout, it is deprecated and has security implications.

peak yacht
#

Thank u. But i want to implement for web app only

#

Please tell me to setup the google pay in the stripe and my chrome browser

#

Hi team any response

pallid mesa
#

๐Ÿ‘‹ catching up here

#

Your code is not really the legacy Checkout. However can you confirm why you would want to use this redirectToCheckout function?

#

It's fine to use it btw, but why don't you just redirect from serverside?

peak yacht
#

Ok i will tey that.. but any samples

pallid mesa
#

With Checkout ApplePay and GooglePay are natively supported. Meaning if your device is eligible, you should automatically see ApplePay button and GooglePay button

peak yacht
#

Yes.. i am able to show the apple pay button in the safari with my code itself but google pay not showing

#

I'm working on wwb app so how can i add android code n that files it is not possible

pallid mesa
#

Here are the requirements

#

Chrome

  • Chrome 61 or newer
  • An activated Google Pay card
    Chrome Mobile for Android
  • Chrome 61 or newer
  • An activated Google Pay card or a saved card
#

Which browser are you testing on?

peak yacht
#

Chrome 98.0.4758.102

#

I want to display google pay like this

pallid mesa
#

I know. Do you have a Card registered in your GooglePay account on that browser?

peak yacht
#

Yes

peak yacht
#

No

pallid mesa
#

Then I think it's your Google Account setting

#

hold on

peak yacht
#

Can u tell how can add the cars in the browser

pallid mesa
#

That's browser cards, not GooglePay cards

peak yacht
#

These are the cards i added in my chrome browser

pallid mesa
#

There are 2 things: cards saved in GooglePay account, and cards saved in browser

#

You need cards saved on GooglePay account, similar to cards saved to Wallet app for ApplePay (which belongs to an Apple Account)

peak yacht
#

Can u send me some example card to test from my end

pallid mesa
#

No ๐Ÿ™‚ It needs to be a real card

#

You would need to use your real credit card

peak yacht
#

How can i add now

pallid mesa
#

I see you already have 1 card!?

peak yacht
#

Ys im using real credit card only

pallid mesa
#

Still don't see the button?

peak yacht
#

No

pallid mesa
#

Can you paste here your Checkout Session URL?

peak yacht
pallid mesa
#

Like the one I shared above

pallid mesa
#

Yeah looking

peak yacht
#

Ok

pallid mesa
#

No that's my link

#

I meant the Checkout Session URL you have created with your code/Stripe account

pallid mesa
#

Oh I see. This is not displaying

#

Wait but how did you create this link?

peak yacht
#

Stripe.redirecttocheckout

#

Using this only

pallid mesa
#

(I can find it, I just want to offer you a way for easy debug on your end)

#

nvm I got it req_UxkzuxO3NcMDha

peak yacht
#

Ol

#

Ok

pallid mesa
#

Okie this is weird. Let me test a bit more

peak yacht
#

Ok

#

You are there?

#

Hello

pallid mesa
#

Yeah testing

#

I tested your way of creating Checkout and it works for me

#

Have you enabled GooglePay in your Dashboard?

#

Oh you based in India?

peak yacht
#

Yes

#

Yes i have enabled google pay

pallid mesa
#

Okie, I know that GooglePay in India has some issues and is disabled. Could you write into Support and they might be able to give you the full context

peak yacht
#

Bit i have changed the coutry using VPN

#

Still not able to see the button

#

Even people tried from US also not bale to see the gpay button

pallid mesa
#

It's not just VPN, it's because your Stripe Account is India account

#

each Stripe Account has a specific country

peak yacht
#

Ok.. i tried with US register stripe account

#

In that also not showing the gpay button

#

Shall i give that link also

pallid mesa
#

yeah

peak yacht
#

2 min

#

2 min

#

Getting error.. so give me another 2 min

pallid mesa
#

Don't worry!

pallid mesa
#

Okie, I can see GooglePay button with this link

peak yacht
#

Thank you

#

So which country is supported for gpay

#

Shall i use US VPN and tey again

pallid mesa
#

I think all countries GooglePay supports would be supported via Stripe too.

#

For this US merchant account, yes please try VPN and pretend you are a non-Indian customer

#

let's see if you can see the button

peak yacht
#

Then why it i

#

It is not displaying

#

You are there

#

Hello

pallid mesa
#

I still see "Country or Region" India

#

Stripe uses various factor to determine Customer location. Maybe only VPN couldn't bypass it. Looking at the defaulted "India" displayed there

peak yacht
#

So any way to test the gpay from india

#

Plz help me

pallid mesa
#

What error is that in the console? Don't think it's related but

peak yacht
#

There is no error

pallid mesa
#

I see the ERR_PROXY_CONNECTION_FAILED in your above screenshot

peak yacht
#

Yes that is for enabling VPN for US

#

For indian not showing error

#

Any other ways

#

Not bale to check with Touch VPN

#

Hello

#

You are there?

#

Hello

#

You are there?

pallid mesa
#

Sorry I am a bit stretched out

#

I think the VPN wasn't enough to bypass Checkout customer location predict model

#

Let's try other VPN, or contact Support and they might have a runbook for you to test