Make Purchases through Steam Store
Last updated
Last updated
Setting up your catalog item for sale in Steam is super simple! All you need to do is go to your catalogs and find the catalog item that you wish to sell head to Actions
and Configure IAP, but don't forget to press List For Sale
as otherwise, this item will not be purchasable.
You can set up multiple prices with different real life currencies, USD is the default.
Redeeming purchases using the Steam Store is split into three stages.
BeginSteamPurchaseRedemption
This method requires a lot of initial information, such as SteamID of the user attempting to purchase, the currency, the language, and the Catalog Listing Item ID. This in return gives you an Entitlement_id which will be used throughout the flow.
QuerySteamPurchaseRedemption
This method requires the Entitlement_id which we got from BeginSteamPurchaseRedemption. This function will return a status on the purchase, has the user accepted and paid? Did they cancel? All this information is available here, you should iterate it until a final decision has been made by the user.
FinalizeSteamPurchaseRedemption
This method also requires the Entitlement_id, this function redeems the purchase on LootLocker, giving the user the asset to their LootLocker Inventory. Calling this method is only possible once QuerySteamPurchaseRedemption returns an "Approved" status.
To be able to make Steam purchases, the game must have working Steam integration, Steam must be launched on the device and the player must own the game.
Follow the links to learn more about languages and currency.
It is recommended to use our Steam Authentication for a better experience for your users.
In this example we used Steamworks.net plugin to get the steamID of the user, as well as the language they're playing in.
To be able to make Steam purchases, the game must have working Steam integration, Steam must be launched on the device and the player must own the game
It is recommended to use our Steam Authentication for a better experience for your users.
In this example we used Steamworks.net plugin to get the steamID of the user.