Download the PHP package fmtl-studio/laravel-epay without Composer
On this page you can find all versions of the php package fmtl-studio/laravel-epay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fmtl-studio/laravel-epay
More information about fmtl-studio/laravel-epay
Files in fmtl-studio/laravel-epay
Package laravel-epay
Short Description Laravel adapter to accept payments through the ePay, EasyPay and BPay.
License MIT
Homepage https://www.fundamental.bg
Informations about the package laravel-epay
Laravel ePay, EasyPay, BPay, ePay World integration module
Laravel wrapper for easy and seamless integration with all available ePay payment methods:
- ePay
- EasyPay(10 digit identification number)
- BPay(Payment using ATM machine withdraw)
- ePay World(Payment using debit/credit card)
Made with love and code by Fundamental Studio Ltd.
Installation
The package is compatible with Laravel 7+ version.
Via composer:
Publish using the provider
After installing, the package should be auto-discovered by Laravel. In order to configurate the package, you need to publish the config file using this command:
Config
After publishing the config file, you should either add the needed keys to the global .env Laravel file:
You are up & running and ready to go.
Documentation and Usage instructions
The usage of our package is pretty seamless and easy. First of all, you need to use the proper namespace for our package:
Creating the instance of our package:
Quick way to initiate a payment
The setData function could be ommitted. The data may be set as array and second parameter to the constructor of the main class.
All available methods are shown into the next section, including setter and getter methods.
Generating payment fields and/or forms
Retrieve the correct and formatted hidden fields, form, or array with all the needed parameters.
All available methods are shown into the next section.
Notes
All current requests can be used as a form for redirecting the user to the ePay platform, including:
- Payment through your ePay account
- BPay code for ATM withdraw using 6 digit code
- Payment through debit/credit card throught ePay World (If ePay World is included into your ePay contract)
- EasyPay tab, which will give you 10 digit code for payment
EasyPay
However, if you need and want to integrate your platform with the EasyPay 10 digit code yourself, you can use:
Parsing the results
It is also possible to parse the return results and output them as array:
You can find our more about the available methods and differences between the paylogin and credit_paydirect types. All available methods are shown into the next section.
Official ePay documentation can be found here.
- Production ePay url endpoint: https://epay.bg/
- Demo ePay url endpoint: https://demo.epay.bg/
Methods
All available methods with their arguments and return formats.
Changelog
All changes are available in our Changelog file.
Support
For any further questions, feature requests, problems, ideas, etc. you can create an issue tracker or drop us a line at [email protected]
Contributing
Read the Contribution file for further information.
Credits
- Konstantin Rachev
- Vanya Ananieva
The package is bundled and contributed to the community by Fundamental Studio Ltd.'s team.
Issues
If you discover any issues, please use the issue tracker.
Security
If your discover any security-related issues, please email [email protected] or [email protected] instead of using the issue tracker.
License
The MIT License(MIT). See License file for further information and reading.
All versions of laravel-epay with dependencies
guzzlehttp/guzzle Version ^6.5
illuminate/support Version ^5.8|^6.0