question

Ahmad avatar image
Ahmad asked

Playfab Steam Purchase Item 0 - Invalid description

Hey There,

I hope everyone is doing great, so steam purchases were running really fine , no problem , but when i made our game's final catalog we will use , it suddenly stopped working, the error happens at (Pay for Purchase) , it fails with the following error ,

{ "code": 400, "status": "BadRequest", "error": "FailedByPaymentProvider", "errorCode": 1015, "errorMessage": "Steam API unsuccessful response: {\"response\":{\"result\":\"Failure\",\"params\":{\"orderid\":9996885689022294054},\"error\":{\"errorcode\":3,\"errordesc\":\"Item 0 - Invalid description\"}}}", "errorDetails": { "ProviderErrorCode": [ "3" ], "ProviderErrorMessage": [ "Item 0 - Invalid description" ], "ProviderErrorDetails": [ "{\"response\":{\"result\":\"Failure\",\"params\":{\"orderid\":9996885689022294054},\"error\":{\"errorcode\":3,\"errordesc\":\"Item 0 - Invalid description\"}}}" ], "ProviderOrderId": [ null ] } }

i dont really know what's wrong , here is my setup for pay for purchase

https://imgur.com/3nEG8EK

and here is my setup for start purchase

https://imgur.com/BCWqdrX

it was working really well no problem and i have no idea what's going wrong , i double checked the steam id and web api settings in playfab just in case

In-Game Economy
2 comments
10 |1200

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

Rick Chen avatar image Rick Chen ♦ commented ·

Could you please check if the item description is empty/too long/containing invalid characters? Since it is the Steam API returning unsuccessful response, please also contact the Steam support for help.

1 Like 1 ·
Ahmad avatar image Ahmad commented ·

any help please ?

0 Likes 0 ·

1 Answer

Ahmad avatar image
Ahmad answered

the problem was the item display name because i passed it as a json , and steam use the item display name in the steam purchase pop up , so the display name has to be short , not the discription

also item 0 here means the first item in the array you passed in the first call in start purchase

https://imgur.com/BCWqdrX

i hope this helps others

10 |1200

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