Download the PHP package mykholy/laravel-paymob without Composer
On this page you can find all versions of the php package mykholy/laravel-paymob. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mykholy/laravel-paymob
More information about mykholy/laravel-paymob
Files in mykholy/laravel-paymob
Download mykholy/laravel-paymob
More information about mykholy/laravel-paymob
Files in mykholy/laravel-paymob
Vendor mykholy
Package laravel-paymob
Short Description paymob integration for laravel
License MIT
Homepage https://github.com/mykholy/laravel-paymob
Package laravel-paymob
Short Description paymob integration for laravel
License MIT
Homepage https://github.com/mykholy/laravel-paymob
Please rate this library. Is it a good library?
Informations about the package laravel-paymob
Laravel PayMob
Paymob integration for laravel.
Currently Supported
Installation
-
install the package
- publish the package assets with
Config
- config/paymob.php
Setup
-
add the package routes to your
routes/web.phpex. - add
Billableto the model you will be billing. - next add
getBillingData()which should return all the required fields for the order creation, check paymob requirements for more info.- all the optional fields has already been taken care of.
Usage
Normal
-
update
paymob.controllerwith your own controller, which should have 3 methodsyou can check
DummyControllerfor a more detailed overview.type @method return GET checkOutreturns the view where the user will press the checkout btn POST processget the selected payment type & make a request to paymob server GET completecheck for the transaction hmac & save it to your server, for more info check.
Refund
- all you need to is to call
PayMob::refundand pass to it thetransaction_id&amount_in_poundsthat will be refunded, ex.for more info check
Security
If you discover any security-related issues, please email [email protected].
All versions of laravel-paymob with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
^7.0|^8.0|^9.0
The package mykholy/laravel-paymob contains the following files
Loading the files please wait ...