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

VNPAY Gateway

WidgetMechanismSupport
VnpayGatewayWebWebviewios, 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:
  • 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.

 Mobile app:

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

Example: 

vnpay_gateway:
  path: ./packages/vnpay_gateway

Then run flutter pub get in your project

  1. 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

CountryAvailable Currencies
Vietnam (VN)VND
Was this article helpful to you? Yes No

How can we help?