google-pay/gpay-live-demo

Card linking is mondatory?

bsde1234 opened this issue · 8 comments

I linked my bank account in gpay. But when clicking payment button it says no card linked. Does card link is mondatory?

Can you clarify what you mean by bank account?

Technically bank accounts won't appear in Google Pay but credit and debit cards will.

Screenshot_20201104-173920
I am from India. Here we don't need to add card to use gpay.

How do you bring up that screen? Does that happen when you click on the Google Pay button?

With Google Pay, the developer/merchant specifies which payment methods they accept and the Google Pay sheet will usually display a list of payment methods that a user has that can fulfill the payment. Bank account is not a supported payment method.

If you are in India, a common payment method is UPI. Check out https://developers.google.com/pay/india/api/web/intro

That screen is from gpay android app in profile>payment methods. We dont use any card in gpay transactions. How a customer should buy using your button with gpay app. May be I misunderstoud this project. Can I purchase with app or not? We have upi id like mobilenumber@upi username@oksbi. any use fot it instead card?

Screenshot_20201105-141720

So when I click your payment button why it is not asking for upi Id instead of card. Where I can set to ask upi id in program

Any help appreciated

In your web application, you should request a UPI payment. The user can then complete the UPI payment with a supported UPI app installed on their device (Google Pay being one of the supported apps).

You can request a UPI payment with the PaymentRequest API. The Google Pay developer documentation has a tutorial that you can follow. Please try it out to see if it meets your requirements.

Thanks, closing for now. If possible make a demo project.