akika / laravel-weevo
Weevo package for Laravel to allow merchants to connect
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/akika/laravel-weevo
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.5
- illuminate/http: ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
- illuminate/support: ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
README
The Laravel Weevo package allows you to transfer money through the NCBA Open Banking APIs. The package supports Laravel version 5 and above.
Installation
You can install the package via composer:
composer require akika/laravel-weevo
After installing the package, publish the configuration file using the following command:
php artisan weevo:install
ENV Variables
You can add the following variables to your env file. Make sure to add the requested information.
WEEVO_ENV=
WEEVO_DEBUG=
WEEVO_SANDBOX_URL=
WEEVO_PRODUCTION_URL=
Set Credentials
In case Weevo is initialized with null values, the following function can be called to set the credentials
public function setCredentials($username, $apiKey, $apiSecret);
Delivery Statuses
Below are the available statuses
case Pending = 'pending';
case Assigned = 'assigned';
case Picked = 'picked';
case InTransit = 'in_transit';
case DeliveryInitiated = 'delivery_initiated';
case PaymentRequested = 'payment_requested';
case Delivered = 'delivered';
case Failed = 'failed';
case Cancelled = 'cancelled';
case Returning = 'returning';
case Returned = 'returned';