Pure PHP library that allows managing customer transactions using the App Store Server API and handling server-to-server notifications using the App Store Server Notifications V2
MIT License
54
stars
20
forks
source link
Unable to get data from HTTPRequestFailed Exception #14
Unable to get data from HTTPRequestFailed Exception,
when i use $api->getTransactionInfo($transactionID), when $transactionID is not exists, this request should be 404,
and a HTTPRequestFailed will throw, but we could not get any responseText or statusCode from HTTPRequestFailed, so i cant 'let my program' to handle such errors
I've implemented it in a bit different way in v3.7.0, so closing this issue.
Feel free to reopen if you need any additional functionality related to this topic.
Unable to get data from HTTPRequestFailed Exception,
when i use
$api->getTransactionInfo($transactionID)
, when$transactionID
is not exists, this request should be 404,and a
HTTPRequestFailed
will throw, but we could not get any responseText or statusCode fromHTTPRequestFailed
, so i cant 'let my program' to handle such errors