Widget | Mechanism | Support |
FlutterwaveGateway | Native library | ios, android |
FlutterwaveGatewayWeb | Webview | ios, 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:
- Go to WordPress Admin > Plugins > Add New from the left-hand menu
- In the search box type Flutterwave WooCommerce for WooCommerce
- Click on Install now when you see Flutterwave WooCommerce for WooCommerce to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: enable rave
- Flutterwave plugin guide: https://wordpress.org/plugins/rave-woocommerce-payment-gateway/
Mobile app:
- Copy flutterwave_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
flutterwave_gateway:
path: ./packages/flutterwave_gateway
Then run flutter pub get in your project
- 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