Hi, I am using this code to fetch items from my catalog and trigger Steam IAPs:
PlayFabClientAPI.StartPurchase(new StartPurchaseRequest() { CatalogVersion = "IAP1_0", Items = new List<ItemPurchaseRequest>() { new ItemPurchaseRequest() { ItemId = "BigBagOfGold", Quantity = 1, Annotation = "Purchased via in-game store" } } }, result => { // Handle success }, error => { // Handle error });
With this code I am able to get items which have been previously created under Economy->Catalogs->Items. In my game, players can create and sell their items within the game. Since I don't know the names and prices they are going to use I am not able to specify in advance those items in the dashboard and them pull up their details.
So the question is, can I either get an item by ID using the code above and change the name and price fields or create a request for starting a purchase where I can pass parameters such as Name, Price, etc?
Thanks!