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