#sreekanth_api
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1231825583902687303
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, do you have a valid card added to your Google Pay wallet?
I have added credit card to the google pay.. then it asked to install google wallet...
Do you have a URL that I can visit to test your integration?
I can see Google Pay.
Are you testing from a supported browser with your google account logged in?
Ah, yes Google Pay isn't available in Inida.
No problem
while signup we are creating customer in the stripe with card details... client asked to show saved cards in the payment section(like in the above screenshot you have shared) when user wants to pay since we are already collecting his details before payment flow....
The PaymentElement doesn't show saved payment methods. You can build your own UI to present a saved payment method.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer it depends. In payment mode, the customer’s most recently saved card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page. In subscription mode, the customer’s default payment method will be used
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay, then we can pickup the card id and make payment in the backend ?
Yes you can, see https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
okay
since google wallet is not supported in india.. any other way to check from india ?
You can try using a VPN, but I can't guarantee if it works.
okay let me try this.. Thanks Jack. will get back to you if i need any help
As i checked with vpn it is not showing...
Are there any other requirements apart from these to show Google Pay?
That's all.
If someone adds a card to the Google Pay wallet, will it appear under the payment methods for that email?
What do you mean by "appear under the payment methods for that email" ?
Do we need to add the same card in Chrome as well?
Not necessary
okay thanks
i have one doubt, How will Stripe know to display Google Pay if we add a card to the Google Pay wallet?
Stripe uses Goolge Pay API to get the wallet availability, and display Google Pay option accordingly.
Yes, but for the Google Pay API, would they require some information to verify a specific account?
As far as I know, It'd check the currently logged in Google account
Does that mean that if a Google Wallet is linked to an email, it will be identified through that email?.
so, It will not appear for other emails that do not have Google Wallet...?
By email do you refer to Google account?
yes
Then yes, we have the same understanding.