I’m using the PHP SDK to create payment requests
$client->payments->create etc
The docs suggest checking isSuccess() but this fails (I think that refers to previous versions of the API?)
Anyway how on earth do I find the response code (200, 400 etc) to handle errors?
Is there any documentation/examples anywhere of error handling using the PHP SDK?
Thanks