khalti_sdk 1.0.1 copy "khalti_sdk: ^1.0.1" to clipboard
khalti_sdk: ^1.0.1 copied to clipboard

An official Flutter plugin for Khalti Payment Gateway, combining core functionalities and Flutter UI into a single unified package.

1.0.0 #

  • Initial release of unified Khalti SDK.
  • Combined khalti_checkout_flutter and khalti_checkout_core functionality.
  • Seamless integration with Khalti Payment Gateway using WebView.

1.0.1 #

  • Refined API: Enhanced PaymentResult with PaymentStatus enum and helper methods (isSuccess, isPending, isFailed).
  • UX Improvements:
    • Updated WebView loader color to Khalti brand color (#DC0019).
    • Removed hardcoded AppBar background color, now uses theme default.
    • Loader now persists during the verification phase to prevent user confusion.
  • Stability:
    • Added a 20-second timeout to payment verification API calls to prevent WebView freezes.
    • Ensured onPaymentResult is always called as a terminal callback, even on verification failure.
    • Intercepted navigation to return_url to prevent unnecessary merchant page loads within the SDK WebView.
  • Dependency Updates: Updated package_info_plus and device_info_plus to latest stable versions.
4
likes
160
points
68
downloads

Documentation

Documentation
API reference

Publisher

verified publisherayushtimalsina.com.np

Weekly Downloads

An official Flutter plugin for Khalti Payment Gateway, combining core functionalities and Flutter UI into a single unified package.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

device_info_plus, equatable, flutter, flutter_inappwebview, http, internet_connection_checker_plus, meta, package_info_plus, url_launcher

More

Packages that depend on khalti_sdk