question

cadeng3ds avatar image
cadeng3ds asked

Add currency from client

I want to add currency to my game but when I try to add it I get "/Inventory/AddInventoryItems: Action not authorized by title". All api features are enabled from the PlayFab website. My game is in a beta phase right now so I'm giving all players unlimited currency until the game launches, so I don't care about security right now. How can I get this working?

In-Game Economy
10 |1200

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

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

Since your game is in a beta phase and you are not care about security, you may navigate to the [Title settings]->[Economy v2] Economy Settings page to check the AddInventoryItems option for the Player, then you can use player’s token to add currency for player. Please remember to uncheck the option before you launch your game.

10 |1200

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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