Search packages, repositories and app categories

Package detailsv2.6.0+54

flutter_cashfree_pg_sdk

This is a new integration provided by Cashfree. If you are integrating with Cashfree PG for the first time, we recommend that you use this integration.

30-day downloads
69
Likes
32
Pub points
60

Install package

flutter pub add flutter_cashfree_pg_sdk

Package Overview

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

The flutter_cashfree_pg_sdk is a Flutter plugin that enables seamless integration with Cashfree Payment Gateway for processing payments in Flutter applications. Designed for developers new to Cashfree PG, it simplifies the setup and handling of payment flows, including card, UPI, net banking, and wallet options. The SDK provides a consistent, secure, and user-friendly experience across platforms. It supports both Android and iOS, ensuring broad compatibility. With clear documentation and active maintenance by Cashfree, it's ideal for apps requiring reliable in-app payment solutions.

Use cases

  • In-app purchases
  • E-commerce checkout
  • Subscription billing
  • Digital service payments
  • Online ticket booking

Key features

  • Secure payment processing
  • Support for multiple payment methods
  • Easy Flutter integration
  • Real-time transaction status updates
  • Built-in error handling

Suitable for

  • Mobile e-commerce apps
  • SaaS platforms
  • Event ticketing apps
  • Digital content providers
  • On-demand service platforms

Considerations

  • Requires Cashfree account setup
  • Needs API key configuration
  • Limited to supported regions
  • Depends on Cashfree's backend availability
  • May require additional compliance checks

Original README

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

Cashfree Flutter SDK Sample

GitHub Discord GitHub last commit (branch) GitHub release (with filter) Maven Central GitHub forks Build GitHub Repo stars

Sample Banner Image

Description

Sample integration project for Cashfree Payment Gateway's Flutter SDK, facilitating seamless and secure payment processing within your Flutter application.

Documentation

The Cashfree Flutter SDK allows you to integrate Cashfree Payment Gateway into your application and start collecting payments from your customers. It has been designed to minimise the complexity of handling and integrating payments in your Flutter project.

Getting Started

Please replace the values for orderId, token (Payment Session ID) and environment values in the example flutter project inside the repo and run.


  String orderId =  "ORDER_ID"; // replace with actual value
  String paymentSessionId =  "PAYMENT_SESSION_ID" // replace with actual value
  CFEnvironment environment = CFEnvironment.PRODUCTION;  // replace with actual value

| Please refer our official flutter documentation here.

Getting help

If you have questions, concerns, bug reports, etc, you can reach out to us using one of the following

  1. File an issue in this repository's Issue Tracker.
  2. Send a message in our discord channel. Join our discord server to get connected instantly.
  3. Send an email to care@cashfree.com

Getting involved

For general instructions on how to contribute please refer to CONTRIBUTING.


Open source licensing and other misc info

  1. LICENSE
  2. CODE OF CONDUCT

Categories

Dependencies

Dependency list 3 items

  • http^1.1.0
  • js^0.6.4
  • plugin_platform_interface^2.0.2

Source repository

Projects using this package