Hi All,
I have integrated the latest Unity IAP plugin (v2.2.7), and Package Manager (v2.2.2), however, we are seeing odd behaviour when attempting to auto-restore purchases from the IAP plugin (app launch), and further more, odd behaviours on attempting to Purchase same IAP again.
Issue 1) We understand the Amazon Store uses a different model when managing Subscriptions as an IAP type. Amazon uses parent-child model for these products, unlike Google and iOS stores. The way we handle this is adding both parent and child product ID as products to the configuration builder. The purchase is made to the parent subscription product, and the Purchase Success callback correctly returns its Receipt. However, on consequently app launch this parent (and child) product is restored with no valid receipt. i.e. hasReceipt is null or empty. Is this a known issue? Is there anything else we can try?
Issue 2) In the scenario above, user decides to purchase the product again. The Purchase callback returns ALREADY_PURCHASED response for the parent product, but the ReceiptID in the receipt payload is empty! i.e.
Unity Purchasing Amazon D onPurchaseResponse
I ALREADY_PURCHASED
Unity I [PurchasingService] Purchase OK
I + Type: Subscription
I + Receipt: {“Store”:“AmazonApps”,“TransactionID”:“”,“Payload”:“{"receiptId":"","userId":"sadjkhasjkdhayyandbbXXssdsjhZak”,"isSandbox":false}"}
Q) We can see that the latest IAP plugin SubscriptionManager class adds support for handling Amazon subscriptions, though also, seems to be giving us incorrect data. Is this available for use?
We feel that there are a number of open issues on Amazon Subscription handling with the latest IAP plugin, but before making decisions whether to use it or move to another implementation, we would like to know where the problem may lie. Any help from Unity IAP team here would be greatly appreciated
PS> We don’t have this issue with Non-Consumable IAP, so I am guessing the problem lies in adapting the parent-child subscription model
Dioni