question

shinnosukehashimoto avatar image
shinnosukehashimoto asked

Advice on how to manage catalog items

We are looking for advice on how to manage items.

The premise is that we want to be able to buy items in-game that will be available in-game, and we want to be able to buy items in-game, but not in RM currency. All of those items will be purchased with RM currency. We will not be using virtual currency in the game.

All purchased items will be automatically stored in the inventory. This is the expected usage so far.

We sometimes use the "Progressive Reward System (https://github.com/PlayFab/PlayFab-Samples/tree/master/Recipes/ProgressiveRewards)" to distribute these items for We would like to distribute them for free.

In this case, is it okay to use "Azure Functions + Cloud Functions + PlayFabServerAPI.GrantItemsToUser" to manage the items by storing them in the inventory?

apis
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

This sentence: “and we want to be able to buy items in-game, but not in RM currency. All of those items will be purchased with RM currency. We will not be using virtual currency in the game.” you said is a bit contradictory. Can you further explain it?

If you want all items in your game can only be purchased with real money, you can refer to Getting started with PlayFab, Unity IAP, and Android - PlayFab | Microsoft Learn to know about real money purchase process. And after the receipt verified, the catalog item (ItemId) matching the GooglePlay store item (productId) will be added to the user's inventory. So, you don’t have to grant the item manually.

In addition, in the situation that all your items can only be purchased with real money, you can still use "Azure Functions + Cloud Functions + PlayFabServerAPI.GrantItemsToUser” to distribute the items to player for free.

1 comment
10 |1200

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

shinnosukehashimoto avatar image shinnosukehashimoto commented ·

Can you further explain it?

I wanted to say "all items in the game can only be purchased with real money".

Thank you for replying to my poor English. All my problems are solved.

0 Likes 0 ·

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.