Skip to main content

flutter_paymob 2.0.0 copy "flutter_paymob: ^2.0.0" to clipboard
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_inappwebview is no longer a dependency.
  • initialize() now takes publicKey, secretKey (optional), cardIntegrationId, walletIntegrationId, region and a default customization. apiKey and iFrameID are gone.
  • New pay(clientSecret:) to open the checkout for an intention created on your backend (recommended for production).
  • New createIntention() and checkout() (all payment methods in one screen).
  • payWithCard() / payWithWallet() no longer need a BuildContext; the wallet number is entered in Paymob's screen, so number was removed. Both return a PaymobPaymentResult and still accept onPayment.
  • New PaymobPaymentResult with status (successful, failure, cancelled, pending) and the full transactionDetails. success, transactionID, responseCode, message and amountCents still work; PaymentPaymobResponse is 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
35
likes
150
points
112
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Accept Paymob card and mobile-wallet payments in Flutter through the official native Paymob Android and iOS SDKs (Intention API).

Repository (GitHub)
View/report issues

Topics

#payments #paymob #payment-gateway

License

GPL-3.0 (license)

Dependencies

flutter, http

More

Packages that depend on flutter_paymob

Packages that implement flutter_paymob