My problem: I want to make some checks before letting the user purchase an item from a Store.
For instance, having an item with limit dates (purchaseable only between a startDate and an endDate), or having a limit number of purchases per user for an item.
To be able to do this, I'd need to make those checks through a CloudScript function and, once validated, call PurchaseItem from there.
Unfortunately, PlayFab's Server API doesn't allow to call PurchaseItem from CloudScript, and I think it would be a very helpful feature in many different situations as those described above.
Also, if anyone has a suggestion for a suitable workaround it would be greatly appreciated.
Thank you!