I am trying to integrate google pay in my android app. I found official integration guide here. I want to integrate google pay without any payment gateway in between (DIRECT method).
I found DIRECT method integration code here in DIRECT tab. In that google asks for protocolVersion and publicKey as parameter and below i found that i can get my public key in my Google Pay Developer Profile. I searched for Google Pay Developer Profile signup but I cannot find the way to signup for Google Pay Developer Profile and to get my public key.
Anyone can help me to get public key for google pay DIRECT integration?
I've looked up the integration on Google Pay.
You as merchant are creating the key pair used yourself by using OpenSSL as described here: https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#using-openssl
After the creation you can manage your public keys within the google developer backend by following this instructions: https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#key-rotation
That said, the whole process is described in the article on that site: https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography
Just follow those steps. :)
It appears you have to register your account and pass some sort of validation like said in this page : https://developers.google.com/pay/api/web/guides/setup
Have you done any of the steps required ?
All of the explanation here : About how to generate GPay public key and whtat and where is google pay developer profile -- Where is Google pay Developer account and how to generate public key to upload in it?