payfast_flutter 0.0.6
payfast_flutter: ^0.0.6 copied to clipboard
Flutter SDK for PayFast payment gateway integration with Android, iOS, and Web support.
0.0.6 #
- Kept the published package name as
payfast_flutter. - Synced install snippets, imports, and docs back to
payfast_flutter. - Kept the short
PayFast.pay(...)flow for Android, iOS, and Flutter Web. - Documented the web token proxy flow, health checks, and
Failed to fetchtroubleshooting steps. - Kept the example aligned with
PAYFAST_SECURED_KEYand the current short API.
0.0.5 #
- Added the short
PayFast.pay(...)integration path for Android, iOS, and Flutter Web. - Added
PayFastCheckoutOptionsandPayFastConfig.simple(...)for smaller setup code. - Added Flutter Web token support through
webTokenUrl,webAccessToken, oraccessTokenProvider. - Added the local development token proxy example and health endpoint instructions.
- Improved web token fetch error messages for unreachable proxies, bad responses, and malformed JSON.
- Updated the example app to read
PAYFAST_SECURED_KEYcorrectly from--dart-define. - Refreshed the package docs and testing guides to match the current public API.
0.0.3 #
- Refined package metadata and documentation for pub.dev publication.
- Added a clean SDK payment flow via
PayFast.startPayment(...). - Improved
PayFastConfigdefaults and customizable payment parameters. - Enhanced WebView payment handling and success/failure callbacks.
- Updated examples and package docs for safer copy-paste integration.
0.0.1 Initial Release #
- Initial release of the PayFast Flutter package.
- Integrated PayFast payment gateway using WebView.
- Token-based authentication with PayFast API.
- Auto-submit payment form in WebView.
- Support for PKR currency.
- Early simple API with
PayFastService.startPayment(). - Automatic basket ID generation using timestamp.
- Error handling for failed token generation.