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

Flutterwave

WidgetMechanismSupport
FlutterwaveGatewayNative libraryios, android
FlutterwaveGatewayWebWebviewios, android, web

Getting started

 – Create an Flutterwave account to use Flutterwave’s services: https://flutterwave.com/us

Usage

 Follow this steps:

Woocommerce website:

Add Flutterwave plugin to your Woocommerce:

  1. Go to WordPress Admin > Plugins > Add New from the left-hand menu
  2. In the search box type Flutterwave WooCommerce for WooCommerce
  3. Click on Install now when you see Flutterwave WooCommerce for WooCommerce to install the plugin
  4. Config plugin according instructions
  5. Go to Woocommerce -> Setting -> Tab Payments: enable rave

 Mobile app:

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

Example: 

flutterwave_gateway:
  path: ./packages/flutterwave_gateway

Then run flutter pub get in your project

  1. Add FlutterwaveGateway(native view) or FlutterwaveGatewayWeb(web view) to cirilla/lib/payment_method.dart file ( use only one of them and remember import package like example)

Example:

import 'package:flutterwave_gateway/flutterwave_gateway.dart';

final Map<String, PaymentBase> methods = {
  FlutterwaveGateway.key: FlutterwaveGateway(
    encryptionKey: "YOUR_ENCRYPTION_KEY"
  ),
};

Note: Get encryptionKey in your Flutterwave profile

Or

import 'package:flutterwave_gateway/flutterwave_gateway_web.dart';

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

Available Currencies

https://flutterwave.com/tz/support/general/what-are-the-currencies-accepted-on-flutterwave

Was this article helpful to you? Yes No

How can we help?