khalti_sdk 1.0.1
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_flutterandkhalti_checkout_corefunctionality. - Seamless integration with Khalti Payment Gateway using WebView.
1.0.1 #
- Refined API: Enhanced
PaymentResultwithPaymentStatusenum 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.
- Updated WebView loader color to Khalti brand color (
- Stability:
- Added a 20-second timeout to payment verification API calls to prevent WebView freezes.
- Ensured
onPaymentResultis always called as a terminal callback, even on verification failure. - Intercepted navigation to
return_urlto prevent unnecessary merchant page loads within the SDK WebView.
- Dependency Updates: Updated
package_info_plusanddevice_info_plusto latest stable versions.