So, I was developing for Unity but at some point I needed to change to PHP for alternative requests.
I've downloaded the PHP Playfab SDK from github, added the ExampleProject to my localhost directory, looked for the documentation to make the right requisition, but the Client custom Login was not working.
I tried to fill the blanks as the documentation said, using the correct apache and PHP version, SSL from the link in the documentation, yet I always get the following error:
<br /> <b>Warning</b>: Creating default object from empty value in <b>C:\xampp\htdocs\PlayFabSDK\PlayFabClientApi.php</b> on line <b>1139</b><br /> { "code":400, "status":"BadRequest", "error":"InvalidParams", "errorCode":1000, "errorMessage":"Invalid input parameters", "errorDetails":{ "":[ "One of the following properties must be defined: CustomId, EncryptedRequest" ] }}
Tried to Hardcode some values, but with no success.
Also, tried to make some Server requisiton just so I would check if other functions were working, like GetTime, and it worked without any problem:
{"code":200,"status":"OK","data":{"Time":"2020-05-15T23:36:17.246Z"}}
Do you guys have any idea what it could be? I need to make Client requests.
Thanks for the attention