flutterkhaltipayment 0.3.0 copy "flutterkhaltipayment: ^0.3.0" to clipboard
flutterkhaltipayment: ^0.3.0 copied to clipboard

outdated

An unofficial Khalti SDK that can be used by Khalti merchants to integrate Khalti payment on their flutter apps.

flutterkhaltipayment #

An unofficial Khalti SDK that can be used by Khalti merchants to integrate Khalti payment on their flutter apps.

Supported Platforms

  • Android
  • iOS (Soon)

Usage #

# add this line to your dependencies
dependencies:
  flutterkhaltipayment: ^0.2.0
import 'package:flutterkhaltipayment/flutterkhaltipayment.dart';  
    FlutterKhaltiPayment(
      urlSchemeIOS: "KhaltiPayFlutterExampleScheme",
      merchantKey: "YOUR MERCHANT KEY HERE",
      productId: "012",
      productName: "Product Name",
      amount: 1000,
      customData: {
        "extra data": "extra data",
      },
    ).initPayment(
      onSuccess: (data) {
        print(data);
      },
      onError: (error) {
        print(error);
      },
    );
property description
merchantKey String (Not Null)(required)
productId String (Not Null) (required)
productName String (Not Null) (required)
amount double (Not Null) (required)
customData Map<String, String> (Not Null) (required)

If you need any features suggest #

3
likes
40
pub points
10%
popularity

Publisher

verified publisherbkshah.com.np

An unofficial Khalti SDK that can be used by Khalti merchants to integrate Khalti payment on their flutter apps.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutterkhaltipayment