Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
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 ?
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.