Download the PHP package shabnamyusifzada/php-pulpal without Composer
On this page you can find all versions of the php package shabnamyusifzada/php-pulpal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shabnamyusifzada/php-pulpal
More information about shabnamyusifzada/php-pulpal
Files in shabnamyusifzada/php-pulpal
Package php-pulpal
Short Description PulPal Payment System API
License MIT
Homepage https://github.com/shabnamyusifzada/php-pulpal
Informations about the package php-pulpal
PulPal Payment API for PHP
Based on https://payment-api-dev.pulpal.az/swagger/index.html
About
The php-pulpal
package allows you to accept and process payments using PulPal API directly in your php application.
Features
- Top-up Payment from the merchant to the client
- Check status of transaction
- Check merchant wallet balance and blocked funds
Requirements
- PHP 5.6+
- cURL
Composer Install
Require the shabnamyusifzada/php-pulpal
package in your composer.json
and update your dependencies:
Manual Install (without Composer)
- Download the class library and extract the contents do a directory in your project structure.
- Upload the files to your web server.
Setup
Save config/pulpal.php to a location of your choice and fill out your details accordingly.
To use the library in your project, include the following into your file(s).
- /path/to/config.php
- autoload.php
Integrate the package
Include the following to your file:
Using "Top Up Payment from the merchant" feature
You must initialize payment for redirecting the merchant to the payment page using the following example: Example
And then process the payment result using the following example: Example
Using "Check the status of the transaction" feature
Example right here
Using "Check merchant wallet balance and blocked funds" feature
Example right here
Upcoming version
"Payment from the client to the merchant" feature
License
Released under the MIT License, see LICENSE.