Download the PHP package magedahmad/larapayment without Composer
On this page you can find all versions of the php package magedahmad/larapayment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download magedahmad/larapayment
More information about magedahmad/larapayment
Files in magedahmad/larapayment
Package larapayment
Short Description A package to handle different payment gateways
License MIT
Homepage https://github.com/magedahmad/larapayment
Informations about the package larapayment
Payment integrations for Laravel projects
A package to handle different payment gateways
Installation
You can install the package via composer:
After installing, register the service provider inside config/app.php
in terminal publish the migration and config file with
and migrate the db table
in app/config/larapament.php you need to modify the API keys
Usage
paymob instructions
default currency is USD, if you want you can change currency in constructor.
Response would return the iframe that you need to include in your blade file
after completing transaction you would be redirected to a route you specify in paymob itself
in the function handling the callback url you need to verify the transaction.
example code:
And That's it !
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.