Download the PHP package expresspaygh/exp-php-sdk without Composer
On this page you can find all versions of the php package expresspaygh/exp-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download expresspaygh/exp-php-sdk
More information about expresspaygh/exp-php-sdk
Files in expresspaygh/exp-php-sdk
Package exp-php-sdk
Short Description A simple library for PHP integrators
License MIT
Informations about the package exp-php-sdk
Expresspay PHP SDK
A simple library for PHP integrators
Install
- Install composer for your environment - (Composer)[https://getcomposer.org/download/]
- Import package via composer using the command below
Demo / Test
- Browser Demo: [https://github.com/expresspaygh/exp-demos/tree/master/exp-php-sdk-demo]
- Unit Test:
make phpunit
orcomposer run test
How to use
Allowed Environments
- Sandbox - "sandbox"
- Production - "production"
Submit request
This request creates a new invoice to process a payment, below you will find an example request and response.
Checkout request
This request creates a checkout url for a customer to make payment on expressPay, below you will find an example request and response.
Query request - Before payment
This request checks the payment status for an invoice on expressPay, below you will find an example request and response for an unpaid invoice.
Query request - After payment
This request checks the payment status for an invoice on expressPay, below you will find an example request and response for a paid invoice.
Copyright 2020, All rights reserved. Expresspay Ghana Limited [https://expresspaygh.com]