Download the PHP package rick20/faspay without Composer
On this page you can find all versions of the php package rick20/faspay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rick20/faspay
More information about rick20/faspay
Files in rick20/faspay
Package faspay
Short Description A Laravel package for Faspay Payment Gateway.
License
Informations about the package faspay
Faspay Payment Gateway Package for Laravel 5
Use Faspay as your payment gateway for your project? Then this package is for you. This is a laravel package to communicate with Faspay Payment Gateway API (currently only support DEBIT API)
Installation
To get started with Faspay, run this command or add the package to your composer.json
composer require rick20/faspay
Configuration
After installing the Faspay package, register the Rick20\Faspay\FaspayServiceProvider in your config/app.php file.
Also, add the Faspay and Payment facade to the aliases array in your app configuration file:
Finally publish the config file:
php artisan vendor:publish --provider="Rick20\Faspay\FaspayServiceProvider"
and change merchant_id, merchant_name, user_id, and password in the config/faspay.php with yours.
How To Use
After all sets, use this Faspay package as follows:
To generate a custom billing number/code, you can create a class that implements BillingProfileInterface, for example:
and then pass it as a second argument of registerPayment() method.
Bugs & Improvements
This package is far from perfect. It doesn't support BCA KlikPay yet. It doesn't support Faspay Credit API also. Feel free to report me any bug you found or send me pull requests.
All versions of faspay with dependencies
guzzlehttp/guzzle Version ~5.0|~6.0
spatie/array-to-xml Version ^2.3
illuminate/support Version 5.3.*
nesbot/carbon Version ~1.20
symfony/http-foundation Version 3.1.*