helaplus/laravelhelaplus

:package_description

v0.5.2 2022-12-25 07:00 UTC

This package is auto-updated.

Last update: 2024-10-25 10:51:12 UTC


README

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.