myfatoorah/myfatoorah_drupal_commerce

The official MyFatoorah Payment Gateway for Drupal Commerce.

2.1.1 2023-03-13 11:46 UTC

This package is not auto-updated.

Last update: 2024-04-08 17:18:34 UTC


README

This is the official MyFatoorah Payment Gateway for Drupal Commerce module. MyFatoorah Drupal Commerce module is based on myfatoorah/library composer package. Both MyFatoorah Drupal Commerce and PHP library composer packages are developed by MyFatoorah Technical Team to handle myfatoorah API endpoints.

Main Features

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

Installation

  1. Install the module via myfatoorah/myfatoorah_drupal_commerce composer.

    composer require myfatoorah/myfatoorah_drupal_commerce
    
  2. In the admin panel, Extend tab, search for the Myfatoorah plugin, select it, and click the install button to install the module.

Merchant Configurations

In Drupal Admin Panel, follow the steps below:

  1. Go to Commerce → Configuration → Payments → Payment Gateways section
  2. Fill in Gateway configuration and use API key as follows

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.