question

vertexarts avatar image
vertexarts asked

Revoked Skus: Clarification

Hello, our app offers an entitled item (full version of the game) for purchase. After purchasing the item calling PurchasingManager.initiatePurchaseUpdatesRequest() returns a PurchaseUpdatesResponse object with the receipt of the entitled item. But it also contains the item Sku in the revoked Skus set. Is this how it should be? I didn't expect that the Sku is revoked since i thought revoked means the purchase is canceled by the customer. So i considered all receipts with revoked Skus as invalid. If thats wrong please clarify how revoked Skus should be handled and what their meaning is. If thats correct then please explain why the Amazon Test Client marks entitled items as revoked. Thank you, Chris
iap
10 |5000 characters needed characters left characters exceeded

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

StephenC@Amazon avatar image
StephenC@Amazon answered
The term "revoked" refers to an action taken by Amazon to remove an entitlement from a customer. It is a very rare occurrence. This is different than a subscription expiring, for example. When a subscription expires, the reciept will have an end date that reflects the date the subscription expired. Valid subscriptions will have "null" for the end date. Hope this helps.
10 |5000 characters needed characters left characters exceeded

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

StephenC@Amazon avatar image
StephenC@Amazon answered
The term "revoked" refers to an action taken by Amazon to remove an entitlement from a customer. It is a very rare occurrence. This is different than a subscription expiring, for example. When a subscription expires, the reciept will have an end date that reflects the date the subscription expired. Valid subscriptions will have "null" for the end date. The SDK Tester will only report an entitlement as "revoked" if you cancel the transaction from the "active transaction" page of the SDK Tester. Hope this helps.
10 |5000 characters needed characters left characters exceeded

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

vertexarts avatar image
vertexarts answered
Hi Steve, thank you the clarification! Regards, Chris
10 |5000 characters needed characters left characters exceeded

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

Samuel@Amazon avatar image
Samuel@Amazon answered
Thanks Vertexarts, and I hope this information helps other developers in the forum too. :)
10 |5000 characters needed characters left characters exceeded

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

devavrata avatar image
devavrata answered
Hi Steve, I have gone through the thread, I have a question. First I will explain my scenario in brief, I am testing the Amazon In App for "Entitlement", Here we go First I have bought an item of type entitlement then I removed the item by going in sdk tester -> active transaction-> cancel. Pressed cancel button. The particular entitlement item disappeared from there. Then I uninstalled the app from Kindle Fire Emulator Platform 2.3.3 API Level 10, and again I tried to install my app by right clicking project -> run as Android Application. The application opened and value returned from getUserIdResponse.getUserIdRequestStatus() is "SUCCESSFUL", which is as per the expected behavior should not happen because user has already removed it by going in sdk tester -> active transaction -> cancel. And when ever I try to see back in sdk tester -> active transaction-> it is empty. But my application is still getting the SUCCESSFUL status. Can you please explain something with regards to this. Regards, Devavrata
10 |5000 characters needed characters left characters exceeded

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

Dixith@Amazon avatar image
Dixith@Amazon answered
Hi Devavrata, Sorry for delay in getting back to you. As you mentioned above when you are canceling the entitlement item from Active Transactions, it removes the item from sdk tester. In IAP API, getUserIdResponse.getUserIdRequestStatus() returns the status of the getuserid( ) request. Here getuserid( ) returns the value of SDK Test userid. Then getuserIdRequestStatus( ) method returns the value as successful. Please go through the below link for IAP API reference. https://developer.amazon.com/sdk/in-app-purchasing/reference/api-reference.html
10 |5000 characters needed characters left characters exceeded

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