| Widget | Mechanism | Support |
| GokwikGateway | Webview | ios, android |
Requirement
- Cirilla
v4.2.9or above - App builder
v5or above
Usage
Follow this steps:
Woocommerce website:
Add GoKwik Checkout plugin to your Woocommerce:
- download this plugin at: https://www.gokwik.co/ke-international
- Go to WordPress Admin > Plugins > Add New from the left-hand menu > Upload plugin from the top menu
- Click on Install to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: enable GoKwik Prepaid
- Go to Woocommerce -> Setting -> Tab GoKwik Checkout: Setup
Mobile app:
Package Setup
- Copy gokwik_gateway, and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
gokwik_gateway:
path: ./packages/gokwik_gateway
Then run flutter pub get in your project
3. Add GokwikGateway to cirilla/lib/payment_method.dart file ( use only one of them and remember import package like example)
Example:
import 'package:gokwik_gateway/gokwik_gateway.dart';
final Map<String, PaymentBase> methods = {
GokwikGateway.key: GokwikGateway(isTestMode: false, merchantId: 'xxxxxxxxxxxx'),
};