# This is for local development. NOT WORKING ATM!
# Docker image of PHP 5.3 lacks ssl module and composer requires it
# Also this image lacks git which is at some point required during installation of phpunit deps.
services:
app:
image: php:7-alpine3.16
working_dir: /app
command: >
/bin/sh -c "
rm -rf vendor &&
rm -f composer.lock composer.phar &&
curl -s https://getcomposer.org/download/2.0.0/composer.phar -o composer.phar &&
php composer.phar update --no-interaction --prefer-dist -vvv &&
vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky"
volumes:
- .:/app
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"
}