Closed TravisCornelius closed 4 years ago
In the callApi method of the ApiClient.php file if I add
header('Content-type: text/html; charset=UTF-8');
it seems to display in the print_r
Thanks for reporting. We're looking into the cause behind this, I'm seeing the same as you.
@TravisCornelius great news! A fix has been released for this. Please update to version 2.20200122.1, and it should work :). Let me know if that's not the case.
Maxing out the 200 limit, and need to get the batch token, even setting the limit to 1, I'm still not getting any batch token info in the [link] header params.
However, in Terminal I'm able run the same command and I get the batch_token: curl -I https://connect.squareup.com/v1/XXXXXXXXXXXX/payments -X GET -H 'Content-Type: application/json' -H 'Square-Version: 2020-01-22' -H 'Authorization: Bearer XXXXXXXXXX'
I'm also able to get the token via: