Can't find consumable in-app purchases by using "get transaction history" API

We are trying to upgrade our server API from verifyReceipt to new app store server API.

According to apple API document (https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history), Get Transaction History API returns consumable in-app purchases if the app hasn’t finished processing the transaction. However, we cannot find any consumable purchases in the response even if we request the API before client finish the transaction.

At the same time (before client finish the transaction), verifyReceipt API returns the consumable purchases. We check the API parameter and test it in both production environment and sandbox environment, but the problem still exists.

Anyone has some idea? Thanks in advance!

Add a Comment