Search packages, repositories and app categories

Package detailsv3.0.0

khalti_flutter

An official Flutter plugin for Khalti Payment Gateway, with all the necessary interface that make it easy to integrate with your app.

30-day downloads
71
Likes
35
Pub points
60

Install package

flutter pub add khalti_flutter

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The khalti_flutter package is an official Flutter plugin that enables seamless integration of the Khalti Payment Gateway into Flutter applications. It provides a straightforward interface for initiating payments, handling payment callbacks, and managing transaction states. Designed for developers aiming to support digital payments in Nepal and beyond, it simplifies the process of adding secure, reliable payment functionality. The plugin supports both mobile and web platforms, ensuring broad compatibility. With clear documentation and active maintenance by Khalti, it streamlines the payment integration workflow.

Use cases

  • In-app purchases
  • E-commerce checkout
  • Service subscription payments
  • Digital wallet integration
  • Online ticket booking

Key features

  • Official Khalti SDK integration
  • Secure payment processing
  • Cross-platform support
  • Easy callback handling
  • Real-time transaction status updates

Suitable for

  • Flutter developers building e-commerce apps
  • Startups in Nepal needing local payment solutions
  • Apps requiring secure digital transactions
  • Developers using Khalti as their primary payment gateway
  • Mobile and web applications targeting South Asian markets

Considerations

  • Requires valid Khalti merchant credentials
  • Limited to regions where Khalti operates
  • Needs proper error handling for network failures
  • Depends on internet connectivity during payment
  • May require additional backend validation for security

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Khalti Payment Gateway

Khalti Payment Gateway for Flutter

Khalti Docs BSD-3 License GitHub issues Website Follow Khalti in Facebook Follow Khalti in Instagram Follow Khalti in Twitter Subscribe Youtube Channel

Attention

Attention! You're currently using KPG-v1, which is outdated and no longer supported. It's scheduled to be removed in the future.
Upgrade to KPG-v2 for a smoother checkout experience.
You can find the KPG-v2 SDK for Flutter here: https://github.com/khalti/checkout-sdk-flutter
Archived documentation...

Use Khalti Payment Gateway solution in your app or website to simplify payment for your customers. You do not need to integrate with individual banks when using Khalti Payment Gateway.

With Khalti SDK/API, you can accepts payments from:

  1. Khalti Users
  2. eBanking users of our partner banks
  3. Mobile banking users of our partner banks
  4. SCT/VISA card Holders
  5. connectIPS Users

Payment Solutions

The repository hosts three packages:

Payment Solutions Package Name Version Description Use Case
Payment API only khalti_core khalti_core Low level abstraction over Khalti REST API for Dart only project & using custom dependencies. e.g. using dio instead of http
SDK without UI khalti khalti Wrapper around khalti_core, which includes easy-to-use methods for Flutter project, where a custom user interface is required
Quick Integration SDK with UI khalti_flutter khalti_flutter Similar to khalti, but includes user interface Recommended one, a plug-and-play solution with limited customization

Features

  • Highly secure and easy Integrations
  • SDKs available for Web (JavaScript), Android and iOS
  • Payments by customers without leaving your platform
  • Secured transactions using 2-step authentication i.e Khalti Password and Khalti Pin (4 digit pin in Khalti App also used for Khalti App and transaction lock)
  • Transaction processing is disabled on multiple requests for the wrong Khalti Pin
  • Multi-user Merchant Dashboard to view transactions, issue refunds, filter and download reports etc.
  • Realtime payment updates in Merchant Dashboard
  • Amount transfer feature to banks from Merchant Dashboards anytime
  • Multiple Payment Options for Customers

Support

For Queries, feel free to call us at:

Contact Our Merchant Team

  • Mobile (Viber / Whatsapp): 9801165567, 9801165538
  • Email: merchant@khalti.com

(To integrate Khalti to your business and other online platforms.)

Contact Our Merchant Support

  • Mobile (Viber / Whatsapp): 9801165565, 9801856383, 9801856451
  • Email: merchantcare@khalti.com

Contact Our Technical Team

  • Mobile (Viber / Whatsapp): 9843007232
  • Email / Skype: sashant@khalti.com

(For payment gateway integration support.)

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.