question

liortal53 avatar image
liortal53 asked

getPurchaseUpdates doesn't return purchased item that was not fulfilled

Our game is using the Unity3D SDK. We are testing our game for the scenario of restoring unconsumed purchases.

To test this, we're creating purchases that complete successfully, but are never completed (e.g: notifyFulFillment is never called).

On the next app load, we call getPurchaseUpdates(true) to get a list of all pending receipts so we can process them.

The problem is that in this particular test, the getPurchaseUpdates call returns an empty array of receipts. I would expect it to return the receipt for the item that was not fulfilled.

What are we doing wrong here? can anyone suggest how we should handle this ?

iaptestinglive app testingpurchasing
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

WangChao@Amazon avatar image
WangChao@Amazon answered

Hi @liortal53,

Did you use Amazon App Tester or Live App Testing when doing your test? Please check the difference at https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/testing-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.