NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4330 most downloaded on pub.dev
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).
Last release 1 months 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
[Apple Pay] Replace the pay package dependency with a native PassKit implementation on iOS, removing the transitive pay/pay_android/pay_ios/pay_platfo
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.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.UnprocessableTokenError when the native payment result is malformed, instead of leaving onPaymentResult with no response at all.minSdkVersion 21 requirement previously called out for the pay package no longer applies.One column per quarter.
[iOS] Add Swift Package Manager (SPM) support for the Moyasar plugin while keeping CocoaPods compatibility.
pay dependency to 3.3.0 to align with SPM-compatible iOS dependency resolution.[Union Pay] Support union pay 🚀
/v1/payments if providedSamsungPayEligibility for explicit pre-check of Samsung Pay availability in custom UX flowsSome Enhancements
Some Enhancements
Adding ApplyCoupon flag
Adding ApplyCoupon flag
[STC Pay] Widget renamed from STCPaymentComponent to STCPay. STCPaymentComponent is deprecated and will be removed in the next major version; use STCP…
Samsung Pay support and STC Pay widget rename.
STCPaymentComponent to STCPay. STCPaymentComponent is deprecated and will be removed in the next major version; use STCPay for new code.[Moyasar] Adding Split Payment support.
Split Payment Feature 🐛
[UI] Updating STC Demo for ui customization and readMe file
STC UI Customization 🐛
[Apple Pay] Fix PaymentNetwork serialization issue that caused "Invalid argument: Instance of 'PaymentNetwork'" error
Bug Fixes 🐛
[Credit Card] Validate the card number against the provided supported network
Credit Card Enhancements 🚀
This release includes contributions by Mahmoud Abdulwahab
[Apple Pay] Add an option to tokenize (save) the card upon successful payment.
[Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.32.0, Dart to 3.8.0, DevTools to 2.45.1.
3.32.0, Dart to 3.8.0, DevTools to 2.45.1.[STC Pay] Add support for STC Pay payment method.
New Features 🚀
[Moyasar] Add toJson() method to the response models. (Thank you @AliAlhajji)
[Credit Card] Improve RTL styling compatibility with localization libraries. (Thank you @ahmadkhedr)
3.29.2, Dart to 3.7.2, DevTools to 2.42.3.http dependency to 1.3.0.pay dependency to 3.2.0.The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
3.27.2, Dart to 3.6.1, DevTools to 2.40.2.pay dependency to 3.1.0.webview_flutter dependency to 4.10.0.[Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.24.0, Dart to 3.5.0, DevTools to 2.37.2.
3.24.0, Dart to 3.5.0, DevTools to 2.37.2.supportedCountries config with default of ["SA"] to accept payments from set countries.[Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.22.3, Dart to 3.4.4, DevTools to 2.34.3.
3.22.3, Dart to 3.4.4, DevTools to 2.34.3.http dependency to 1.2.2.[Credit Card] Replace deprecated MaterialStatePropertyAll to the new WidgetStatePropertyAll.
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
3.22.2, Dart to 3.4.3, DevTools to 2.34.3.webview_flutter dependency to 4.8.0.MaterialStatePropertyAll to the new WidgetStatePropertyAll.[Credit Card] Show the correct currency on the Pay widget.
[iOS] Add Privacy Manifest file.
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
3.19.5, Dart to 3.3.3, DevTools to 2.31.1.http dependency to 1.2.1.pay dependency to 2.0.0.webview_flutter dependency to 4.7.0.[Apple Pay] Improve the UX by allowing the user to setup Apple Pay card if none is added yet.
[Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.16.9, Dart to 3.2.6, DevTools to 2.28.5.
3.16.9, Dart to 3.2.6, DevTools to 2.28.5.http dependency to 1.2.0.supportedNetworks in the PaymentConfig.merchantCapabilities in the ApplePayConfig.webview_flutter dependency to 4.5.0.[Flutter] Upgrade to latest versions of Flutter tooling; Flutter to 3.16.3, Dart to 3.2.3, DevTools to 2.28.4.
3.16.3, Dart to 3.2.3, DevTools to 2.28.4.http dependency to 1.1.2.[Moyasar] Support customizing the UI
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
The main theme of this release is to support latest versions of the Flutter tooling and the utilized dependencies.
3.16.0, Dart to 3.2.0, DevTools to 2.28.2.http dependency to 1.1.0.pay dependency to 1.1.2.webview_flutter dependency to 4.4.2.[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 se
[Credit Card] Add an option to tokenize (save) the credit card upon successful payment.
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…
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.
pay dependecy to 1.1.1 to remove deprecation warnings.webview_flutter dependecy to 4.2.0 to support the latest major version.[Apple Pay] Fix showing the merchant name during the Apple Pay payment session to avoid possible app rejection.
[Apple Pay] Fix handling the Apple Pay response when the company and name fields aren't returned from the API.
company and name fields aren't returned from the API.Build the Dart Moyasar API wrapper.
Your coding agent can read these notes before it upgrades. Set up the MCP server →