Download the PHP package baselrabia/paytabs-with-laravel without Composer
On this page you can find all versions of the php package baselrabia/paytabs-with-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download baselrabia/paytabs-with-laravel
More information about baselrabia/paytabs-with-laravel
Files in baselrabia/paytabs-with-laravel
Package paytabs-with-laravel
Short Description integrate paytabs with laravel
License MIT
Informations about the package paytabs-with-laravel
Paytabs With Laravel🥳
Installation
Begin by installing this package through Composer. Just run following command to terminal-
Once this operation completes the package will automatically be discovered for Laravel 5.6 and above,
-
Run this line to publish package files in your app
-
after that fire the migration command
- last step add those two fields in your
.env
file ,edit it's value with your own
And make sure to change your APP_URL
Otherwise, the final step is to add the service provider. Open config/app.php
, and add a new item to the providers array.
- Now add the Aliase
what's happining there:
the package publish 3 files
- you are free to change what you want in the logic of these files {{ Without Deleteing 🧐}}
- the result of success payment will process making a paytabs invoice through the model
App/Models/PaytabsInvoice.php
- the config file have differnt values for response languague, currancy, email and secert_key
the package has 2 routes
Create Payment Page:
which call the function ( PaytabsController@index
) by GET Request
Verify Payment:
the return response from paytabs which call the function ( PaytabsController@response
) by Post Request
test card:
Checkout Process Demo
Please use these ‘test card’ details for your demo
the link for any updates => https://site.paytabs.com/en/checkout-process-demo/
Contributing
If you think something important is missing or should be different based on your experience, I'd love to hear it! If you have suggestions for improving this package, open an issue with your suggestion.
How to Contribute 💪
License 📝
This repository is under MIT license. You can see the LICENSE file for more details. 😉
This project was developed with ❤️ by @Basel Rabia
If it helped you, give it ⭐, it will help me too 😉