flutter_khalti 0.1.0 copy "flutter_khalti: ^0.1.0" to clipboard
flutter_khalti: ^0.1.0 copied to clipboard

discontinuedreplaced by: khalti_flutter
outdated

A fluter plugin to process khalti payment

flutter_khalti #

Khalti SDK for flutter apps. Khalti Merchant can use this library to integrate the payment system in their system.

Setup #

Android #

No change is required, works out of the box.

IOS #

You have to add URL scheme to the project and send it as a parameter to the FlutterKhalti class.

//todo add url example

How to use #

    FlutterKhalti(
      "your_public_key", //your public key
      "productId",
      "productName",
      "productUrl",
      12121, //amount in paisa
      customData: {
        "test": "asass",
      },
    ).initPayment(
      onSuccess: (data) {
        print("success");
        print(data);
      },
      onError: (error) {
        print("error");
        print(data); 
      },
    );
11
likes
0
pub points
53%
popularity

Publisher

unverified uploader

A fluter plugin to process khalti payment

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_khalti