question

ecngame avatar image
ecngame asked

How to get the developerSecret and userId ?

hi How to get the developerSecret and userId ?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Ecngame, Thank you for writing to us. Developer shared secret should be available here : https://developer.amazon.com/sdk/shared-key.html Please note you should be logged in to your developer account to access this page. Please refer below link for more info. https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs/rvs#Receipt%20Verification%20Service%20API You should use initiateGetUserIdRequest() in the app client to request to access the id of the current user which is specific to your app. If you call this API, you should receive the user id though onGetUserIdResponse. Please refer these links for better understanding: https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs/fundamentals https://developer.amazon.com/public/binaries/content/assets/javadoc/in-app-purchasing-api/com/amazon/inapp/purchasing/purchasingmanager.html#initiateGetUserIdRequest%28%29 https://developer.amazon.com/public/binaries/content/assets/javadoc/in-app-purchasing-api/com/amazon/inapp/purchasing/purchasingobserver.html#onGetUserIdResponse%28com.amazon.inapp.purchasing.GetUserIdResponse%29
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.