Need help with Restoring non-consumable purchases. I can’t restore purchases or obtain related information. Here is how I am testing it-
1. Purchase an item in Sandbox Environment and get its confirmation. All items associated with this purchase now work fine.
2. Delete the app
3. Reinstall it
4. At some point in the app it tries to restore any prior purchases with –
MyStore.RestoreTransactions
This raises-
Sub MyStore_TransactionsRestored (Success AsBoolean)
And returns Success as True
BUT
Sub MyStore_PurchaseCompleted (Success AsBoolean, Product AsPurchase)
is not raised and thus no information of past purchases is returned
5. If I try to purchase this item again it lets me purchase it again saying-
You’ve Already Purchased This Subscription. Tap Buy to renew or extend it.
In this Sandbox Environment I get the choice to Cancel or Buy.
Cancel takes me out of purchasing and Buy lets me buys it again.
Either way I don’t get any info on the earlier purchase(s).
How do I get the Product. ProductIdentifier and Product. TransactionDate of past purchases?
Note that the non-consumable item in this case is a non-renewing subscription.
1. Purchase an item in Sandbox Environment and get its confirmation. All items associated with this purchase now work fine.
2. Delete the app
3. Reinstall it
4. At some point in the app it tries to restore any prior purchases with –
MyStore.RestoreTransactions
This raises-
Sub MyStore_TransactionsRestored (Success AsBoolean)
And returns Success as True
BUT
Sub MyStore_PurchaseCompleted (Success AsBoolean, Product AsPurchase)
is not raised and thus no information of past purchases is returned
5. If I try to purchase this item again it lets me purchase it again saying-
You’ve Already Purchased This Subscription. Tap Buy to renew or extend it.
In this Sandbox Environment I get the choice to Cancel or Buy.
Cancel takes me out of purchasing and Buy lets me buys it again.
Either way I don’t get any info on the earlier purchase(s).
How do I get the Product. ProductIdentifier and Product. TransactionDate of past purchases?
Note that the non-consumable item in this case is a non-renewing subscription.
Last edited: