1. Home
  2. Docs
  3. Cirilla Payment Gateway Addons
  4. Payment Gateways
  5. Myfatoorah Gateway

Myfatoorah Gateway

WidgetMechanismSupport
MyfatoorahGatewayNative libraryios, android

Getting started

 – Create an Myfatoorah account to use Myfatoorah’s services: https://www.myfatoorah.com/

Usage

 Follow this steps:

Woocommerce website:

Add Myfatoorah plugin to your Woocommerce:

  1. Go to WordPress Admin > Plugins > Add New from the left-hand menu
  2. In the search box type MyFatoorah – WooCommerce
  3. Click on Install now when you see MyFatoorah – WooCommerce to install the plugin
  4. Config plugin according instructions
  5. Go to Woocommerce -> Setting -> Tab Payments: only enable MyFatoorah – Cards (don’t enable another method of myfatoorah)

 Mobile app:

  1. Copy myfatoorah_gateway package and add to packages folder in cirilla project.
  2. Import package in cirilla/pubspec.yaml

Example: 

myfatoorah_gateway:
  path: ./packages/myfatoorah_gateway

Then run flutter pub get in your project

  1. Add MyfatoorahGateway(native view) to cirilla/lib/payment_method.dart file.
  2. Config Payment environment with isProductionEnvironment argument, if value is false this payment use API_KEY_TEST for test, if value is true this payment use API_KEY_PRODUCTION for production environment.
  3. (Optional) If you want to show payment method logo in payment page, paste your logo to cirilla/assets/images folder and rename your logo name to myfatoorah_v2.png

Example:

import 'package:myfatoorah_gateway/myfatoorah_gateway.dart';


final Map<String, PaymentBase> methods = {
 MyFatoorahGateway.key: MyFatoorahGateway(
    isProductionEnvironment: true,
 ),
};

Available Currencies

CountryAvailable Currencies
Kuwait (KD)KWD
Saudi Arabia (SR)SAR
Bahrain (BD)BHD
UAE (AED)AED
Qatar (QR)QAR
Oman (OR)OMR
Jordan (JD)JOD

https://myfatoorah.readme.io/v1.0/docs/display-currencies-with-values

Was this article helpful to you? Yes No

How can we help?