![]() The module converts it to the public key automatically for you. You do NOT have to convert this to anything yourself. NOTE: The public key string you copy from the Developer Console account is actually a base64 string. ![]() Once you copy the public key string from the Developer Console account for your application, you simply need to copy and paste it to a file and name it iap-live as shown in the example above. To set up your server-side Android in-app-billing correctly, you must provide the public key string as a file from your Developer Console account. Instead of using googlePublicKeyPath: 'path/to.' in your configurations, you the following: export=GOOGLE_IAB_PUBLICKEY_LIVE=PublicKeyHerePlzĮxport=GOOGLE_IAB_PUBLICKEY_SANDBOX=PublicKeyHerePlz The module also supports environment variables for this. ![]() You may not want to keep the public key files on your server(s). Google Play Public Key With An Environment Variable ) setAmazonValidationHost( host)Īllows you to set custom validation host name for tests. The module requires the above two compoents to be as a JSON object. Signed Data: A JSON data of what the end user purchased. Google PlayĪ Google Play's receipt consists of two components. An Apple's receipt is a base64 encoded string.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |