GameSalad & Playfab: Store Items

Posted by

In a previous post, I wrote about using Playfab’s virtual currency. Before you can use the virtual currency there are a few other functionalities that need to be built out. One of them is displaying the virtual store items.

The steps should be familiar if you have read the previous posts. First, download the latest integration file (attached) and create some items on the Playfab side.

Then create a table inside of GameSalad with 4 columns and with the name of storeItems (to make my example work). When you are ready to populate the table call post score action with the table as the score attribute and the Leaderboard Id of getTable.

Screen Shot 2020-04-21 at 8.00.01 PM

Then you can display the table as the store. In my case, I still have some display issues to work out.

Screen Shot 2020-04-21 at 7.55.05 PM

On top of the integration page, as usual, is the configuration for this table. Add or subtract columns from the tableColumnsValues if you want more or fewer columns. You can also re-order them.


There is an example of values that the call to retrieve items returns so that you can plug them into the table above.

“ItemId”: “LHint”,
“CatalogVersion”: “1”,
“DisplayName”: “Hint”,
“Description”: “Show the placement of 1 letter.”,
“VirtualCurrencyPrices”: {
“ST”: 100
“Tags”: [],
“Consumable”: {},
“CanBecomeCharacter”: false,
“IsStackable”: true,
“IsTradable”: false,
“IsLimitedEdition”: false,
“InitialLimitedEditionCount”: 0
As usual, all comments, requests, and ideas are welcomed. Stay safe and build some great games.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.