Widget | Mechanism | Support |
VnpayGatewayWeb | Webview | ios, android, web |
Getting started
– Create an VNPay account to use VNPay’s services: https://www.vnpayment.vn/Users/Login.htm
Usage
Follow this steps:
Woocommerce website:
- Add VNPay plugin to your Woocommerce:
- Download the extension from Download.
- Log in to your WordPress admin, navigate to Plugins and click on Add new.
- On the Add plugins page, click on Upload plugin, then hit Choose File then choose zip file dowloaded and click on Install Now.
- On the Plugins page, activate the modules for VNpay by checking the boxes and clicking on the Apply button.
- Config plugin according instructions then save changes( Docs: https://sandbox.vnpayment.vn/apis/files/Guid_Plugin_OpenCart_VNpay.docx)
Mobile app:
- Copy vnpay_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
vnpay_gateway:
path: ./packages/vnpay_gateway
Then run flutter pub get in your project
- Add VnpayGatewayWeb(web view) to
cirilla/lib/payment_method.dart
file (remember import package like example)
Example:
import 'package:vnpay_gateway/vnpay_gateway_web.dart';
final Map<String, PaymentBase> methods = {
VnpayGatewayWeb.key: VnpayGatewayWeb(),
};
Available Currencies
Country | Available Currencies |
Vietnam (VN) | VND |