#muthu-checkout
1 messages ยท Page 1 of 1 (latest)
Hi Team.. Kindly check the above thread amd help me
Hi there, the code you have shared is from the legacy checkout, it is deprecated and has security implications.
I would highly recommend referring to the new Checkout to accept payments: https://stripe.com/docs/payments/accept-a-payment?platform=android
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
๐ 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?
Ok i will tey that.. but any samples
Your Checkout implementation should look like this: https://stripe.com/docs/payments/accept-a-payment
With Checkout ApplePay and GooglePay are natively supported. Meaning if your device is eligible, you should automatically see ApplePay button and GooglePay button
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
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?
I know. Do you have a Card registered in your GooglePay account on that browser?
Yes
My page btw
If you open this link in your current browser, will you see the button? https://checkout.stripe.com/pay/cs_test_a1qwO1AS4ldyzWnh8rn8WB6DW1ZRahp3Kam8X0FNt4U6ZNp7tpaos6AotO#fidkdWxOYHwnPyd1blpxYHZxWjA0TzVJX2NAaGRsZzQ1dG5XaldgZ3ZLQDNIR3RRSUluPU9SQVA9MGxkYUpyYGdzU2BVR2Nxcl1tUW1dPU80REBvb1R1UUhqcTdBcGhuckRRV2p1MFZKbTZjNTVVN2lfMEAwfScpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl
No
These are the cards i added in my chrome browser
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)
How can i add now
I see you already have 1 card!?
Ys im using real credit card only
Still don't see the button?
No
Can you paste here your Checkout Session URL?
Like the one I shared above
Yeah looking
Ok
No that's my link
I meant the Checkout Session URL you have created with your code/Stripe account
Okie, can you find the request id for me? From your Dashboard https://dashboard.stripe.com/test/logs
(I can find it, I just want to offer you a way for easy debug on your end)
nvm I got it req_UxkzuxO3NcMDha
Okie this is weird. Let me test a bit more
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?
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
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
It's not just VPN, it's because your Stripe Account is India account
each Stripe Account has a specific country
Ok.. i tried with US register stripe account
In that also not showing the gpay button
Shall i give that link also
yeah
Don't worry!
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
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
What error is that in the console? Don't think it's related but
There is no error
I see the ERR_PROXY_CONNECTION_FAILED in your above screenshot