Looking to hire Laravel developers? Try LaraJobs

laravelhelaplus maintained by helaplus

Description
:package_description
Author
Last update
2022/12/25 08:00 (dev-master)
License
Downloads
225

Comments
comments powered by Disqus

Laravelhelaplus

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require helaplus/laravelhelaplus

Add the following Configs

B2B_INITIATOR="{your_initiator}"
B2B_PASSWORD="{your_password}"
B2B_SOURCE={source_paybll}
B2B_RESULT_URL={result_url}
B2B_CALLBACK_URL={callback_url}
B2B_SECURITY_CREDENTIAL={security_credential}
HELAPLUS_API_TOKEN="your_helaplus_api_token"
HELAPLUS_B2B_ENDPOINT={helaplus_endpoint}

Publish the config file. This will publish the config file to config/laravelhelaplus

$ php artisan vendor:publish 

Then select laravelhelaplus

$ php artisan migrate 

 //This will create a table for helaplus_transactions

Usage

use Helaplus\Laravelhelaplus\Http\B2BPaymentController;

$response = B2BPaymentController::sendB2BPayment($amount,$recipient_paybill,$commandId,$reference);
     

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.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.