techcouchits / genie
Dialog Genie Payment gateway
1.1.0
2023-10-23 19:34 UTC
Requires
- php: ^8.0
- laravel/framework: ^10.0
- ramsey/uuid: ^4.7
- yoeunes/toastr: ^2.3.0
This package is auto-updated.
Last update: 2024-10-24 12:56:41 UTC
README
Dialog Genie IPG for Laravel is a PHP Laravel Package W
Installation
Use the package manager composer to install package.
composer require techcouchits/genie
Add Dialog Genie API Key and Callback URL it .env file
//ENV FILE GENIE_API = YOUR_API_KEY GENIE_REDIRECT_URL = YOUR_REDIRECT_URL
Update Service Provider (config/app.php)
'providers' => ServiceProvider::defaultProviders()->merge([ \Techcouchits\Genie\GenieIpgServiceProvider::class ])->toArray(),
Run Migration
php artisan migrate
Usage
Redirect to below route with Payment amount and reference
//Controller return redirect(amount,reference);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.