cinetpay
1.0.8, released 2 years ago by an unverified publisher
Integrate the CinetPay payment gateway into your Flutter application.
$ flutter pub add cinetpayWhat it does
Allows developers to invoke the CinetPay payment checkout, process payments, and receive real-time payment status updates using callbacks. It renders the payment interface via web views and handles transaction configuration.
AI-written summary of version 1.0.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to accept payments through CinetPay in your Flutter app.
- You want to handle transaction callbacks and error reporting for CinetPay flows.
Skip it when
- You are using a payment gateway other than CinetPay.
- You require complex, headless payment flows without a built-in checkout widget.
Strengths
- Provides a ready-to-use checkout widget for CinetPay.
- Supports multiple currencies and payment channels like Mobile Money and Wallets.
- Offers clear callbacks for both successful payment responses and execution errors.
Weaknesses
- Requires manual platform-specific configuration for Android and iOS (cleartext traffic / transport security).
- Tied exclusively to the CinetPay service.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Requires adding INTERNET permission and enabling cleartext traffic in AndroidManifest.xml, setting minimum Android SDK version >= 19 and compileSdk >= 34, and adding NSAppTransportSecurity exceptions in iOS Info.plist.
CinetPayGradientCheckout() or CinetPayCheckout(
configData: <String, dynamic> {
'apikey': 'YOUR_API_KEY',
'site_id': YOUR_SITE_ID,
'notify_url': 'YOUR_NOTIFY_URL'
},
paymentData: <String, dynamic> {
'transaction_id': 'YOUR_TRANSACTION_ID',
'amount': 100,
'currency': 'XOF',
'channels': 'ALL',
'description': 'YOUR_DESCRIPTION'
},
waitResponse: (response) {
print(response);
},
onError: (error) {
print(error);
}
);Works with
Packages commonly used together with cinetpay: ones it builds on, ones built on it, and its own family.
- url_launchercinetpay depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- flutter_inappwebviewcinetpay depends on itAdd inline WebViews, headless WebViews, and in-app browser windows.
- panara_dialogscinetpay depends on itA dialog UI kit featuring info, confirmation, and custom dialogs with multiple variants and animations.