Download the PHP package mouadziani/laravel-mercanet without Composer
On this page you can find all versions of the php package mouadziani/laravel-mercanet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mouadziani/laravel-mercanet
More information about mouadziani/laravel-mercanet
Files in mouadziani/laravel-mercanet
Package laravel-mercanet
Short Description A laravel wrapper for BnpParibas Mercanet payment gateway
License MIT
Homepage https://github.com/mouadziani/laravel-mercanet
Informations about the package laravel-mercanet
Laravel Mercanet
A laravel wrapper for BnpParibas Mercanet which provide a lightweight public api to process your online payments from your laravel application.
Installation
You can install the package via composer:
You can publish the config file with:
Configuration
As a first step, you need to change the following credentials located in the file, with your own credentials given from your mercanet account.
Usage
Following are some ways through which you can bootstrap the process of payment:
Prepare and process payment request
In order to process new payment you need to call from the existing mercanet instance and then set the following arguments
Instead of creation new instance from Mercanet class and call method separately on it, you can use also the static constructor as the following example:
Validate payment transaction from callback request
In order to retrieve transaction reference and payment status from the given callback request, you can use the following methods.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- MouadZIANI
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Sponsors
![]() |
featured_repository
All versions of laravel-mercanet with dependencies
spatie/laravel-package-tools Version ^1.4.3
illuminate/contracts Version ^8.37