Open famictech2000 opened 3 years ago
@famictech2000 you can find clientEmail
and privateKey
in Google Service Account,
Service Account is part of IAM GCP, to improve security beteween services.
1 - Find/create project in Google Cloud Console
2 - Go to IAM option in left menu.
3 - Create a new Service Account and download JSON
file.
Read this article for more.
EDIT:
googlePublicKeyPath
,googlePublicKeyStrSandBox
and googlePublicKeyStrLive
is not necessary if your using Service Account.
@famictech2000 I found this link recently, it should help you
Awesome thanks!! I'll take a look at it later today!
Now I just need to understand why my receipt validation always fails, with my other issue I opened up ;)
Sorry I'm new to android and Play store.
I am having difficulty with what I need to provide in the following configurations:
What is meant by client email??? googleServiceAccount: { clientEmail: '',
privateKey: ''
},
also what privatekey is this referring to and where could I obtain it????
Lastly, the key paths; I am not sure where I can obtain them, and do I need to provide a path or can I just provide the key info in the script!?
Any help would be really appreciated!!!