MarwaMourad15 / laravel-myfatoorah

The MyFatoorah Payment Gateway for Laravel.

Repository from Github https://github.comMarwaMourad15/laravel-myfatoorahRepository from Github https://github.comMarwaMourad15/laravel-myfatoorah

MyFatoorah Laravel

Description

This is the MyFatoorah Payment Gateway Laravel package. MyFatoorah Laravel is based on myfatoorah composer package.

Main Features

  • Create MyFatoorah invoices.
  • Check the MyFatoorah payment status for invoice/payment.

Installation

  1. Install the package via MarwaMourad15/laravel-myfatoorah composer.
composer require MarwaMourad15/laravel-myfatoorah
  1. Publish the MyFatoorah provider using the following CLI command.
php artisan vendor:publish --provider="MarwaMourad15\LaravelPaymentMyfatoorah\MyFatoorahServiceProvider" --tag="myfatoorah"
  1. To test the payment cycle, type the below URL onto your browser. Replace only the {example.com} with your site domain.
https://{example.com}/myfatoorah
  1. Customize the app/Http/Controllers/MyFatoorahController.php file as per your site needs.

Merchant Configurations

Edit the config/myfatoorah.php file with your correct vendor data.

Demo configuration

  1. You can use the test API token key mentioned here.
  2. Make sure the test mode is true.
  3. You can use one of the test cards.

Live Configuration

  1. You can use the live API token key mentioned here.
  2. Make sure the test mode is false.
  3. Make sure to set the country ISO code as mentioned in this link.

About

The MyFatoorah Payment Gateway for Laravel.


Languages

Language:PHP 100.0%