PackageTrack
Sign in Get early access

moyasar

Accept payments in your Flutter app with ease by using Moyasar. With this SDK, you can quickly and safely accept payments through Apple Pay, Samsung Pay, STC Pay and Credit Card (with managed 3DS step).

3.0.5 6.0K downloads/mo #3589 most downloaded on pub.dev moyasar/moyasar-flutter

What this package is like to depend on

Last release 11 days ago

12 Aug 2026

Ships fairly regularly

a new release about every 5 weeks

Nearly every release is documented

notes for 33 of 33 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

33 releases · first in 2023

9 releases in the last 12 months

see the full history below

Release timeline

33 releases · Jan 2023 to Aug 2026
2024 2025 2026
Release Pre-release

Releases

latest 33
  1. 3.0.5 12 Aug 2026
    Release notes
    • [Apple Pay] Replace the pay package dependency with a native PassKit implementation on iOS, removing the transitive pay/pay_android/pay_ios/pay_platform_interface dependencies. The ApplePay widget's public API is unchanged; ApplePayButtonType and ApplePayButtonStyle are now exported directly from package:moyasar instead of package:pay.
    • [Apple Pay] The ApplePay widget now hides itself automatically on non-iOS platforms and on iOS devices that can't use Apple Pay, instead of relying on the app to guard it with a platform check.
    • [Apple Pay] Users with no card in Wallet now see the payment button instead of nothing, and can add a card from inside the payment sheet (iOS 15+). On iOS 14 and below, where the sheet can't do that, the widget shows Apple's "Set Up Apple Pay" button, which opens Wallet, and switches back once the user returns.
    • [Apple Pay] Fix a crash when handling the native payment result: the token map from the platform channel was not converted before use.
    • [Apple Pay] Fix the amount being parsed with the device locale, which dropped the decimals on devices that use "," as the decimal separator (SAR 603.75 was charged as SAR 603).
    • [Apple Pay] Fix the button keeping stale payment data: the native view is now recreated when the amount, label, or any other Apple Pay parameter changes, and readiness is re-checked when the supported networks change.
    • [Apple Pay] Report UnprocessableTokenError when the native payment result is malformed, instead of leaving onPaymentResult with no response at all.
    • [Android] The minSdkVersion 21 requirement previously called out for the pay package no longer applies.
    Open source →
  2. 3.0.4 19 Jul 2026
    Release notes
    • [iOS] Add Swift Package Manager (SPM) support for the Moyasar plugin while keeping CocoaPods compatibility.
    • [Apple Pay] Upgrade pay dependency to 3.3.0 to align with SPM-compatible iOS dependency resolution.
    • [UI] Replace proprietary Aeonik font assets with free Readex Pro font family to avoid licensing issues in the SDK.
    Open source →
  3. 3.0.3 20 May 2026
    Release notes
    • [Union Pay] Support union pay 🚀
    • [PaymentConfig] Normalize baseUrl by stripping trailing /v1/payments if provided
    • [Samsung Pay] Add SamsungPayEligibility for explicit pre-check of Samsung Pay availability in custom UX flows
    Open source →
  4. 3.0.2 04 May 2026
    Release notes

    Some Enhancements

    Open source →
  5. 3.0.1 19 Apr 2026
    Release notes

    Adding ApplyCoupon flag

    Open source →
  6. 3.0.0 09 Mar 2026
    Release notes

    Samsung Pay support and STC Pay widget rename.

    Added

    • [Samsung Pay] Samsung Pay support for Android (Samsung devices only)
    • [Samsung Pay] Uses samsung_pay_sdk_flutter for native integration
    • [Samsung Pay] SamsungPayConfig with serviceId, merchantName, orderNumber, manual
    • [PaymentConfig] samsungPay config and merchantCountryCode for Samsung Pay
    • [Example] Product flavors: default_ (Apple Pay) and spay (Samsung Pay demo)
    • [Example] CONFIGURATION_GUIDE.md for bundle ID setup

    Changed

    • [STC Pay] Widget renamed from STCPaymentComponent to STCPay. STCPaymentComponent is deprecated and will be removed in the next major version; use STCPay for new code.
    Open source →
  7. 2.2.0 08 Feb 2026
    Release notes

    Split Payment Feature 🐛

    • [Moyasar] Adding Split Payment support.
    Open source →
  8. 2.1.3 18 Dec 2025
    Release notes

    STC UI Customization 🐛

    • [UI] Updating STC Demo for ui customization and readMe file
    Open source →
  9. 2.1.1 08 Sep 2025
    Release notes

    Bug Fixes 🐛

    • [Apple Pay] Fix PaymentNetwork serialization issue that caused "Invalid argument: Instance of 'PaymentNetwork'" error
    • [Apple Pay] Convert PaymentNetwork enum instances to string values when communicating with iOS native code
    Open source →
  10. 2.1.0 03 Aug 2025
    Release notes

    Credit Card Enhancements 🚀

    • [Credit Card] Validate the card number against the provided supported network
    • [Credit Card] RealTime Network Detection to show the card network corresponding to card number
    • [Moyasar] Fixing RTL Text Direction

    This release includes contributions by Mahmoud Abdulwahab

    Open source →
  11. 2.0.19 18 Jun 2025
    Release notes
    • [Apple Pay] Add an option to tokenize (save) the card upon successful payment.
    Open source →
  12. 2.0.18 28 May 2025
    Release notes
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.32.0, Dart to 3.8.0, DevTools to 2.45.1.
    • [Pub.dev] Improve the plugin's score by addressing all the warnings.
    • [Docs] Update the README to add STC Pay and fix broken links.
    Open source →
  13. 2.0.17 27 May 2025
    Release notes

    New Features 🚀

    • [STC Pay] Add support for STC Pay payment method.
    • [Credit Card] Update the UI to follow Moyasar design guidelines.
    • [Moyasar] Add Saudi Riyal currency symbol.
    • [Moyasar] Add given_id to enable setting a custom UUID for the created payment.
    Open source →
  14. 2.0.16 25 Mar 2025
    Release notes
    • [Moyasar] Add toJson() method to the response models. (Thank you @AliAlhajji)
    Open source →
  15. 2.0.15 20 Mar 2025
    Release notes
    • [Credit Card] Improve RTL styling compatibility with localization libraries. (Thank you @ahmadkhedr)
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.29.2, Dart to 3.7.2, DevTools to 2.42.3.
    • [Moyasar] Upgrade http dependency to 1.3.0.
    • [Apple Pay] Upgrade pay dependency to 3.2.0.
    Open source →
  16. 2.0.14 14 Jan 2025
    Release notes

    The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.

    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.27.2, Dart to 3.6.1, DevTools to 2.40.2.
    • [Apple Pay] Upgrade pay dependency to 3.1.0.
    • [Credit Card] Upgrade webview_flutter dependency to 4.10.0.
    Open source →
  17. 2.0.13 12 Aug 2024
    Release notes
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.24.0, Dart to 3.5.0, DevTools to 2.37.2.
    • [Apple Pay] Expose supportedCountries config with default of ["SA"] to accept payments from set countries.
    Open source →
  18. 2.0.12 30 Jul 2024
    Release notes
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.22.3, Dart to 3.4.4, DevTools to 2.34.3.
    • [Moyasar] Support any primitive JSON type in the payment metadata instead of String only.
    • [Moyasar] Upgrade http dependency to 1.2.2.
    Open source →
  19. 2.0.11 12 Jun 2024
    Release notes

    The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.

    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.22.2, Dart to 3.4.3, DevTools to 2.34.3.
    • [Credit Card] Upgrade webview_flutter dependency to 4.8.0.
    • [Credit Card] Replace deprecated MaterialStatePropertyAll to the new WidgetStatePropertyAll.
    Open source →
  20. 2.0.10 12 May 2024
    Release notes
    • [Credit Card] Show the correct currency on the Pay widget.
    • [Credit Card] Make the hintText in RTL direction for each TextFormField when the locale is Arabic.
    Open source →
  21. 2.0.9 29 Apr 2024
    Release notes
    • [iOS] Add Privacy Manifest file.
    Open source →
  22. 2.0.8 15 Apr 2024
    Release notes

    The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.

    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.19.5, Dart to 3.3.3, DevTools to 2.31.1.
    • [Moyasar] Upgrade http dependency to 1.2.1.
    • [Apple Pay] Upgrade pay dependency to 2.0.0.
    • [Credit Card] Upgrade webview_flutter dependency to 4.7.0.
    Open source →
  23. 2.0.7 12 Mar 2024
    Release notes
    • [Apple Pay] Improve the UX by allowing the user to setup Apple Pay card if none is added yet.
    Open source →
  24. 2.0.6 04 Feb 2024
    Release notes
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.16.9, Dart to 3.2.6, DevTools to 2.28.5.
    • [Moyasar] Upgrade http dependency to 1.2.0.
    • [Moyasar] Support customizing the accepted networks with supportedNetworks in the PaymentConfig.
    • [Apple Pay] Support customizing the accepted payment capabilities with merchantCapabilities in the ApplePayConfig.
    • [Apple Pay] Support customizing the Apple Pay button type and styling.
    • [Credit Card] Upgrade webview_flutter dependency to 4.5.0.
    Open source →
  25. 2.0.5 10 Dec 2023
    Release notes
    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.16.3, Dart to 3.2.3, DevTools to 2.28.4.
    • [Moyasar] Upgrade http dependency to 1.1.2.
    • [Moyasar] Handle potential HTTP request failures.
    • [Apple Pay] Handle when the Apple Pay token is unprocessable.
    • [Docs] Update the testing guides with latest help links.
    • [Docs] Update the Apple Pay testing guide.
    Open source →
  26. 2.0.4 24 Nov 2023
    Release notes
    • [Moyasar] Support customizing the UI
    Open source →
  27. 2.0.3 16 Nov 2023
    Release notes

    The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.

    • [Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.16.0, Dart to 3.2.0, DevTools to 2.28.2.
    • [Moyasar] Upgrade http dependency to 1.1.0.
    • [Apple Pay] Upgrade pay dependency to 1.1.2.
    • [Credit Card] Upgrade webview_flutter dependency to 4.4.2.
    • [Credit Card] Explicitly set the text color of the Pay button to white.
    • [Docs] Fix coding style (line wrapping) in the example.
    Open source →
  28. 2.0.2 20 Aug 2023
    Release notes
    • [Credit Card] Add an option to create manual payments, this will let you authorize payment but will not collect the amount from the user untill you send a capture request.
    • [Apple Pay] Add an option to create manual payments, this will let you authorize payment but will not collect the amount from the user untill you send a capture request.
    Open source →
  29. 2.0.1 15 Aug 2023
    Release notes
    • [Credit Card] Add an option to tokenize (save) the credit card upon successful payment.
    • [Credit Card] Fix an issue where some devices experience 3DS form rerendering when the user try to insert the OTP.
    Open source →
  30. 2.0.0 01 May 2023
    Release notes

    Breaking Change For Apple Pay: Apple Pay should be configured as part of the PaymentConfig object. Check the Migrating Guide > From 1.0 to 2.0 section in the Readme for more details.

    The purpose of this upgrade is to improve the pub points by supporintg up-to-date dependencies and improving the static analysis report.

    • [Apple Pay] Upgrade pay dependecy to 1.1.1 to remove deprecation warnings.
    • [Credit Card] Upgrade webview_flutter dependecy to 4.2.0 to support the latest major version.
    • [Docs] Update the Apple Pay prerequisites by removing the need to create a JSON payment config under the asset folder.
    • [Docs] Update the code example.
    • [Docs] Fix the gif example.
    Open source →
  31. 1.0.2 19 Mar 2023
    Release notes
    • [Apple Pay] Fix showing the merchant name during the Apple Pay payment session to avoid possible app rejection.
    Open source →
  32. 1.0.1 13 Mar 2023
    Release notes
    • [Apple Pay] Fix handling the Apple Pay response when the company and name fields aren't returned from the API.
    • [Docs] Fix a typo in the installation command.
    • [Docs] Improve the application description in pub.dev
    Open source →
  33. 1.0.0 09 Jan 2023
    Release notes
    • Build the Dart Moyasar API wrapper.
    • Add Apple Pay widget.
    • Add Credit Card widget with managed 3DS step.
    • Add tests.
    • Add documentation.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive