flutter_cashfree_pg_sdk 2.6.0+54
flutter_cashfree_pg_sdk: ^2.6.0+54 copied to clipboard
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.
Cashfree Flutter SDK Sample #

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
iOS: Swift Package Manager and CocoaPods #
The plugin supports both of Flutter's iOS dependency managers, with no extra setup for either:
- Swift Package Manager (Flutter's default from 3.44):
ios/flutter_cashfree_pg_sdk/Package.swiftis picked up automatically and pulls the native SDK from cashfree/core-ios-sdk. - CocoaPods: the podspec is still shipped and pulls
CashfreePGas before.
Both resolve the same native SDK version. Minimum iOS version is 13.0 (required by the native Cashfree iOS SDK).
| 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
- File an issue in this repository's Issue Tracker.
- Send a message in our discord channel. Join our discord server to get connected instantly.
- Send an email to care@cashfree.com
Getting involved #
For general instructions on how to contribute please refer to CONTRIBUTING.