Widget | Mechanism | Support |
MyfatoorahGateway | Native library | ios, 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:
- Go to WordPress Admin > Plugins > Add New from the left-hand menu
- In the search box type MyFatoorah – WooCommerce
- Click on Install now when you see MyFatoorah – WooCommerce to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: only enable MyFatoorah – Cards (don’t enable another method of myfatoorah)
Mobile app:
- Copy myfatoorah_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
myfatoorah_gateway:
path: ./packages/myfatoorah_gateway
Then run flutter pub get in your project
- Add MyfatoorahGateway(native view) to
cirilla/lib/payment_method.dart
file. - Config Payment environment with
isProductionEnvironment
argument, if value isfalse
this payment use API_KEY_TEST for test, if value istrue
this payment use API_KEY_PRODUCTION for production environment. - (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
Country | Available 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