All Projects → baselrabia → Paytabs With Laravel

baselrabia / Paytabs With Laravel

Licence: mit
it's a PACKAGE helps in integration paytabs payment gateway with laravel framework, If you are interested to know How it's working, Watch this youtube video below

Labels

Projects that are alternatives of or similar to Paytabs With Laravel

Validating
Automatically validating Eloquent models for Laravel
Stars: ✭ 906 (+3524%)
Mutual labels:  laravel
Jsonrpc
JsonRpc Server extension for Laravel/Lumen
Stars: ✭ 23 (-8%)
Mutual labels:  laravel
Laravel Mqtt Publish
A laravel mqtt publisher
Stars: ✭ 24 (-4%)
Mutual labels:  laravel
Tenancy
Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups.
Stars: ✭ 916 (+3564%)
Mutual labels:  laravel
Vms
VMS is your Video Subscription Platform. Add unlimited videos, posts, and pages to your subscription site. Earn re-curring revenue and require users to subscribe to access premium content on your website.
Stars: ✭ 23 (-8%)
Mutual labels:  laravel
Beautymail
Send beautiful HTML emails with Laravel
Stars: ✭ 923 (+3592%)
Mutual labels:  laravel
Eloquent Ldap
A Laravel 5.1 package that first tries to log the user against the internal database if that fails, it tries against the configured LDAP/AD server.
Stars: ✭ 19 (-24%)
Mutual labels:  laravel
Barryvanveen
📰 Personal blog of Barry van Veen. Focuses on Laravel Framework, website optimization and natural computing.
Stars: ✭ 24 (-4%)
Mutual labels:  laravel
Laravel Sri
Subresource Integrity hash generator for laravel
Stars: ✭ 23 (-8%)
Mutual labels:  laravel
Laravel Tools
路飞laravel工具
Stars: ✭ 24 (-4%)
Mutual labels:  laravel
Ddev
DDEV-Local: a local PHP development environment system
Stars: ✭ 915 (+3560%)
Mutual labels:  laravel
Laravel Scout Tntsearch Driver
Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
Stars: ✭ 917 (+3568%)
Mutual labels:  laravel
Laravel Aws Sns
Laravel package for the AWS SNS Events
Stars: ✭ 24 (-4%)
Mutual labels:  laravel
Vscode Laravel Extra Intellisense
This extension adds extra autocompletion for laravel projects to VSCode.
Stars: ✭ 909 (+3536%)
Mutual labels:  laravel
Filament
The elegant TALL stack admin for Laravel artisans.
Stars: ✭ 900 (+3500%)
Mutual labels:  laravel
React Laravel
Package for using ReactJS with Laravel
Stars: ✭ 907 (+3528%)
Mutual labels:  laravel
Pagarme Laravel
Pagar.me SDK for Laravel applications.
Stars: ✭ 23 (-8%)
Mutual labels:  laravel
Laraciproid
Indonesia city and province data migration and seeder for Laravel.
Stars: ✭ 24 (-4%)
Mutual labels:  laravel
Sentry Laravel
Laravel SDK for Sentry
Stars: ✭ 927 (+3608%)
Mutual labels:  laravel
Eloquent Filter
This simple package helps you filter Eloquent data using query filters.
Stars: ✭ 24 (-4%)
Mutual labels:  laravel

Issues Stars Latest Version Software License Total Downloads

paytabs Logo

Happy Logo

Paytabs With Laravel🥳

Installation

Begin by installing this package through Composer. Just run following command to terminal-

composer require baselrabia/paytabs-with-laravel

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
php artisan vendor:publish --provider="Basel\Paytabs\PaytabsServiceProvider"
  • after that fire the migration command
php artisan migrate
  • last step add those two fields in your .env file ,edit it's value with your own
merchant_email=**************@gmail.com
merchant_secretKey=****************************************************************

And make sure to change your APP_URL

APP_URL=http://localhost:8000

Otherwise, the final step is to add the service provider. Open config/app.php, and add a new item to the providers array.

'providers' => [
	...
	Basel\Paytabs\PaytabsServiceProvider::class,
],
  • Now add the Aliase
'aliases' => [
	...
	'Paytabs' => Basel\Paytabs\Facades\PaytabsFacade::class,

],

what's happining there:

the package publish 3 files

1- App/Http/Controllers/PaytabsController.php
2- App/Models/PaytabsInvoice.php
3- config/paytabs.php
  • 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:

http://localhost:8000/paytabs_payment

which call the function ( [email protected] ) by GET Request

Verify Payment:

http://localhost:8000/paytabs_response

the return response from paytabs which call the function ( [email protected] ) by Post Request

test card:

Checkout Process Demo

Please use these ‘test card’ details for your demo

Name on Card:  John Doe
Card Number:  4000 0000 0000 0051
Expiry:  02/22  CVV:  111

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 💪

- Fork the project 

- Create a new branch with your changes:
$ git checkout -b my-feature

- Save your changes and create a commit message telling you what you did:
$ git commit -m "feature: My new feature"

- Submit your changes:
$ git push origin my-feature

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 😉

Linkedin Badge

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].