flutter_paystack_plus
2.6.0, released 3 months ago by an unverified publisher
Flutter plugin to process Paystack payments on mobile and web with split and subscription support.
What it does
Provides a unified API to initialize, display and verify Paystack transactions on Android, iOS and Web. Supports card, bank, USSD, mobile money, QR, split payments and subscription plans. Can work with client‑side secret key or server‑side authorization URL.
AI-written summary of version 2.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- you need Paystack payment integration for Android, iOS, or Web
- you require split‑payment or subscription capabilities
Skip it when
- you use a different payment gateway (e.g., Stripe, Adyen)
- you need native in‑app purchases from Google Play or App Store
Strengths
- mobile and web support in one package
- built‑in split‑payment and subscription features
- offers both client‑side and server‑side initialization
Weaknesses
- requires manual JavaScript interop for web
- client‑side secret key handling can be insecure
- limited to Paystack only
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add web/paystack_interop.js and include Paystack script in web/index.html; set Android minSdkVersion >=19; no extra iOS steps; provide secretKey or authorizationUrl at runtime
await FlutterPaystackPlus.openPaystackPopup(
context: context,
customerEmail: 'customer@example.com',
amount: '50000',
reference: DateTime.now().millisecondsSinceEpoch.toString(),
secretKey: 'sk_live_your_secret_key',
callBackUrl: 'https://your-callback-url.com',
onSuccess: () => debugPrint('Payment successful!'),
onClosed: () => debugPrint('Payment cancelled.'),
);Alternatives
Packages that do the same job and could replace flutter_paystack_plus.
- flutter_stripe
Provides a broader set of payment methods and is backed by Stripe, a widely used gateway
92Compare
Works with
Packages commonly used together with flutter_paystack_plus: ones it builds on, ones built on it, and its own family.