Idea

Víctor avatar image
Víctor suggested

Add PurchaseItem to the Server API

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!

apisCloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

No Comments

·

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.