create_plugin_with_tool 0.0.1 copy "create_plugin_with_tool: ^0.0.1" to clipboard
create_plugin_with_tool: ^0.0.1 copied to clipboard

discontinued
outdated

Omipay Gateway SDK is the official Omipay payment gateway plugin for Flutter. Allows you to accept credit cards, debit cards, internet banking,...

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:create_plugin_with_tool/create_plugin_with_tool.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
  }
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text('Omipay Payment Gateway'),
          ),
          body: Column(
            children: const [
              Expanded(child: GatewaySdk(
                orderCode: 'OM_123456',//do merchant quy dinh, phai la duy nhat
                price: '50000',
                paymentMethodId: 1095,
                notifyUrl: 'http://10.0.9.18:8090/test_checkout/checkout_v1/success.php',//your notify url
                merchantId: '64875',//your merchant id
                merchantPass: '09217d13ecfa568',//your merchant password
                receiverEmail: 'trungnv@htpgroup.com.vn',//email người nhận
                env: 0,//1 môi trường production, 0 là môi trường sandbox
              )),
            ],
          )
      ),
    );
  }
}
0
likes
0
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

Omipay Gateway SDK is the official Omipay payment gateway plugin for Flutter. Allows you to accept credit cards, debit cards, internet banking,...

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, flutter, flutter_web_plugins, plugin_platform_interface, webview_flutter

More

Packages that depend on create_plugin_with_tool

Packages that implement create_plugin_with_tool