Widget | Mechanism | Support |
XenditGatewayWeb | Webview | ios, android, web |
Getting started
– Create an Xendit account to use Xendit’s services: https://dashboard.xendit.co/
Usage
Follow this steps:
Woocommerce website:
Add Xendit plugin to your Woocommerce:
- Go to WordPress Admin > Plugins > Add New from the left-hand menu
- In the search box type Woocommerce – Xendit
- Click on Install now when you see Woocommerce – Xendit to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: only enable Xendit – Credit Card (Xendit)(don’t enable another method of Xendit )
Xendit plugin guide: https://wordpress.org/plugins/woo-xendit-virtual-accounts/#installation
Mobile app:
- Copy xendit_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
xendit_gateway:
path: ./packages/xendit_gateway
Then run flutter pub get in your project
- Add XenditGatewayWeb(web view) to
cirilla
/lib/payment_method.dart file (remember import package like example)
Example:
import 'package:xendit_gateway/xendit_gateway_web.dart';
final Map<String, PaymentBase> methods = {
XenditGatewayWeb.key: XenditGatewayWeb(),
};