square/connect-php-sdk

Response from /v2/customers return NULL

int21ve opened this issue · 1 comments

$result = $api_instance->createCustomer($body);
return $result; //  <== Always NULL 

I was diggin into de the code and I think found the problem

public function createCustomerWithHttpInfo($body)

return array(\SquareConnect\ObjectSerializer::deserialize($response, '\SquareConnect\Model\CreateCustomerResponse', $httpHeader), $statusCode, $httpHeader);
I think this line is the problem

Create Customer works correctly, now. Please let us know if you have issues with it still. Thanks!