Hi!
Is it possible to attach an additional requirement to a purchase? Let's say that if you want to buy a certain item, you need 100 coins & 100 rank points. Those rank points won't retract.
Thanks in advance!
Maarten
Hi!
Is it possible to attach an additional requirement to a purchase? Let's say that if you want to buy a certain item, you need 100 coins & 100 rank points. Those rank points won't retract.
Thanks in advance!
Maarten
I think you want to implement the function that players can only purchase specific items when their rank points meet the requirements. PlayFab doesn’t support such feature. As a workaround, you can add the rank points as the currency and set it as the item price with the coins. Then using an Azure Function to handle the purchase process. When a player wants to buy this item, you can execute this Azure Function to call Execute Inventory Operations with Add operation to add the item to the player's inventory and Subtract operation to decrease the coins (To prevent hackers, it is better to call the Execute Inventory Operations API than the Purchase Inventory Items API). In this case, the rank points won’t be retracted.
35 People are following this question.