flutter_paymob 2.0.0
flutter_paymob: ^2.0.0 copied to clipboard
Accept Paymob card and mobile-wallet payments in Flutter through the official native Paymob Android and iOS SDKs (Intention API).
2.0.0 #
Breaking: the package now uses Paymob's official native SDKs (Android SDK 1.10.1, iOS PaymobSDK.xcframework) and the Intention API instead of the legacy iframe in a WebView. See the migration guide in the README.
- Native checkout screens on Android and iOS;
flutter_inappwebviewis no longer a dependency. initialize()now takespublicKey,secretKey(optional),cardIntegrationId,walletIntegrationId,regionand a defaultcustomization.apiKeyandiFrameIDare gone.- New
pay(clientSecret:)to open the checkout for an intention created on your backend (recommended for production). - New
createIntention()andcheckout()(all payment methods in one screen). payWithCard()/payWithWallet()no longer need aBuildContext; the wallet number is entered in Paymob's screen, sonumberwas removed. Both return aPaymobPaymentResultand still acceptonPayment.- New
PaymobPaymentResultwithstatus(successful,failure,cancelled,pending) and the fulltransactionDetails.success,transactionID,responseCode,messageandamountCentsstill work;PaymentPaymobResponseis a deprecated alias. - New
PaymobCustomization(app name, logo, button colours, save card, result screen…). - Support for Egypt, KSA, UAE, Oman and Pakistan accounts through
PaymobRegion. - Minimum Android API 23, minimum iOS 15.0.
1.0.8 #
- fixed a bug
1.0.7 #
- fixed a bug
1.0.6 #
- Added more detailed explanations in the documentation.
- Improved code quality and structure.
- Fixed minor bugs and performance enhancements.
- Other general improvements.
- add title widget to the pay with card and wallet functions
- add appBarColor to the pay with card and wallet functions
1.0.5 #
- Add more explanation
- Better code improvements
- Other improvements