A Package to help with Paymob integration

dev-master 2019-04-04 23:54 UTC

This package is auto-updated.

Last update: 2024-06-05 11:28:06 UTC


README

A Laravel Package to help with Integration With Paymob gateway

Installation

Require via composer

$ composer require ahmadabdallah/paymob

In config/app.php file

'providers' => [
    ...
    Ahmadabbdallah\PayMob\PayMobServiceProvider::class,
    ...
];

'aliases' => [
    ...
    'PayMob' => Ahmadabbdallah\PayMob\Facades\PayMob::class,
    ...
];

First of all, make an account on WeAccept portal, run this command to generate the PayMob configuration file

$ php artisan vendor:publish    

fill in the desired value for keys in `config/paymob.php` file in your .env file. Make sure to make an iframe in your dashboard .