Víctor suggested an idea · Jan 29, 2020 at 06:04 PM · CloudScriptapis
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!
We would love to know what you need. Submit your ideas and upvote others to help us prioritize.
No one has followed this yet.
Update the Server API to allow UpdateUserTitleDisplayName
Improve GrantItemsToUsers to support item grants from multiple catalogs in a single call
Friend Request with Accept/Decline option
API methods/CloudScript functions to interact with multiple Shared Groups at once
Remove old Cloud Script revisions using Admin API
Add VC Recharge Rate to client and server APIs
Validate Receipt on Cloudscript
Playstream events should show input parameters/arguments
Cloud Script environment variables and Admin API to update them