Download the PHP package quarksgroup/paypack-php without Composer
On this page you can find all versions of the php package quarksgroup/paypack-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quarksgroup/paypack-php
More information about quarksgroup/paypack-php
Files in quarksgroup/paypack-php
Package paypack-php
Short Description Paypack SDK for PHP Integration
License MIT
Homepage https://paypack.rw/
Informations about the package paypack-php
Paypack PHP
Paypack is a cloud service that offers a solution to merchants in need of a resilient, robust and efficient payment service.
Easily request and send funds . Funds are seamlessly delivered to their recipients via mobile money.
Paypack-php is a wrapper around the Paypack REST API that can be easily integrated with any PHP framework.
Setup
Get Composer. For example, on Mac OS:
Install dependencies:
Usage
To use the bindings, use Composer's autoload:
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
Dependencies
The bindings require the following extensions in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Integrating Paypack into your app begins with creating a Paypack account. After a successful registration create an application and a set of client_id
, client_secrets
tokens will be generated.
NOTE: Make sure to copy before closing the modal as it's the last time the client_secret
will be printed to the screen.
Quickstart
Assuming you have your Paypack configuration parameters defined (client_id
,client_secret
), making any request is very simple.
Simple usage looks like:
Intergration
Cashin Request
The following example generates a cashin request:
Cashout Request
The following example generates a cashout request:
Transactions
The following example returns a list of 100 latest transactions:
Info : This method supports a number of filters.
Transaction
The following example returns one transaction according to its reference number:
Events
The following example returns a list of 100 latest events:
Info : This method supports a number of filters.
Profile
The following example returns the profile of the authenticated merchant:
Support
If you meet challenges during your intergration, you can open an issue through GitHub.
License
Released under the MIT license.