owenoj/emergentpay

A Laravel payment package For Emergent payment gateway

v1.4 2021-01-20 18:46 UTC

README

Latest Version on Packagist Total Downloads

Simple Laravel package for emergent payment gateway

Installation

Via Composer

$ composer require owenoj/emergentpay

Usage

Update your .env file with the following and their values.

EMERGENT_ENVIRONMENT
EMERGENT_APP_ID
EMERGENT_API_KEY
class EmergentController extends Controller
{
    public function pay()
    {   
        EmergentPay::initialize(route('callback'));    
    }

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.