getallheaders ============= PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3. [](https://travis-ci.org/ralouphie/getallheaders) [](https://coveralls.io/r/ralouphie/getallheaders?branch=master) [](https://packagist.org/packages/ralouphie/getallheaders) [](https://packagist.org/packages/ralouphie/getallheaders) [](https://packagist.org/packages/ralouphie/getallheaders) This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php). ## Install For PHP version **`>= 5.6`**: ``` composer require ralouphie/getallheaders ``` For PHP version **`< 5.6`**: ``` composer require ralouphie/getallheaders "^2" ```
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}