Hello! I'm making a game where the player buys a developer product for a service but as a guarantee, we pay back if we couldn't fixi t. To do this without extra fees, we would like to use the Enum.ProductPurchaseDecision.NotProcessedYet
thing. But how do you set it on a later time to
Enum.ProductPurchaseDecision.PurchaseGranted?
Would it look like this:
Enum.ProductPurchaseDecision.PurchaseGranted(purchaseId)
?
Thanks for your help and time, Jonas
ProcessReceipt will keep on being called until PurchaseGranted is returned. So if you don't want it to be granted right away, keep returning NotProcessedYet. And somehow tell the script when you want it to be granted, return PurchaseGranted.