pay 3.3.0
pay: ^3.3.0 copied to clipboard
A plug-in to add support for payments on Flutter applications.
Changelog #
3.3.0 - 2025-11-21 #
- Upgrade
pay_androidto3.2.0, which addspixto theGooglePayButtonTypeenum.
3.2.1 - 2025-03-28 #
- Upgrade
pay_androidto3.1.1which fixes a version conflict for theandroidx.test:rulesdependency.
3.2.0 - 2025-03-14 #
- Upgrade errors to relay more information to the Flutter layer.
- Filter properties based on a per-call schema to make API calls more robust. See the changelog for
pay_android:3.1.0for further details.
3.1.0 - 2025-01-10 #
Introduce new payment methods available in PKPaymentNetwork. See the changelog for pay_ios:1.1.0 for further details.
3.0.1 - 2024-12-24 #
Fixes #
- Include a circuit-breaker in the payment buttons when the platform where the logic is run is not supported. This prevents running superflous business logic, and limits configuration complexity.
3.0.0 - 2024-12-23 #
⚠ BREAKING CHANGE #
Introduce an event channel to communicate the Flutter and native ends for Android integrations. This change is only breaking for users of the advanced integration. Other paths are unaffected and can use this version transparently.
Features #
- Use an event channel to handle payment result information on Android.
- Add a complete example of the advanced integration path (see
advanced.dart).
Fixes #
3.0.0-beta.2 - 2024-10-10 #
Include logic to prevent a subscription for payment result EventChannels from being created on platforms that don't support it.
3.0.0-beta.1 - 2024-10-10 #
⚠ BREAKING CHANGE #
Introduce an event channel to communicate the Flutter and native ends for Android integrations. This change is only breaking for users of the advanced integration. The other paths are unaffected and can use this version transparently.
Features #
- Use an event channel to handle payment result information on Android.
- Add a complete example of the advanced integration path (see
advanced.dart).
Fixes #
2.0.0 - 2024-02-27 #
⚠ BREAKING CHANGE #
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend configuration capabilities.
Features #
- ⚠ Introduce the new dynamic button for Google Pay on Android. See the changelog for
pay_android:2.0.0for a detailed breakdown of the changes. - Update minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lintsfor static checks (#182, #210). - Introduce new properties and fixes for the Apple Pay button. See the changelog for
pay_ios:1.0.11for a detailed breakdown of the changes.
Retired APIs #
- ⚠ Removed the
Pay.withAssetsconstructor. See the readme in thepay_platform_interfacepackage to review the recommended logic to initialize thePayclient.
2.0.0-beta01 - 2024-02-01 #
⚠ BREAKING CHANGE #
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend configuration capabilities.
Features #
- ⚠ Introduce the new dynamic button for Google Pay on Android. See the changelog for
pay_android:1.1.0-beta01for a detailed breakdown of the changes. - Update minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lintsfor static checks (#182, #210). - Introduce new properties and fixes for the Apple Pay button. See the changelog for
pay_ios:1.0.11for a detailed breakdown of the changes.
Retired APIs #
- ⚠ Removed the
Pay.withAssetsconstructor. See the readme in thepay_platform_interfacepackage to review the recommended logic to initialize thePayclient.
1.1.2 - 2023-07-31 #
- Update
pay_androidto 1.0.11, which includes lifecycle fixes.
1.1.1 - 2023-02-02 #
- Update
pay_androidto 1.0.10, which includes the latest version of theflutter_svgpackage.
1.1.0 - 2023-01-24 #
⚠ DEPRECATION WARNING #
Features #
- Widgets inheriting from
PayButtonnow receive the payment configuration using thepaymentConfigurationparameter, which expects aPaymentConfigurationobject. This allows building configuration objects from assets or strings (see #7). The previouspaymentConfigurationAssetproperty is still available and marked as deprecated for backwards compatibility, and will be removed in future releases. See the new example application and readme to learn more. - Use a
Mapto configure aPayclient, where the key is aPayProviderand the value is aPaymentConfiguration.
1.0.11 - 2022-09-14 #
- Update
pay_androidto1.0.8, which includes the new specification for the Google Pay button.
1.0.10 - 2022-06-01 #
- Update
pay_iosto1.0.7, which adds thetransactionIdentifierproperty to the payment result.
1.0.9 - 2022-05-24 #
- Add support for Flutter 3 in the sample application.
- Update
pay_androidto1.0.7, which adds support for Flutter 3 to the package.
1.0.8 - 2022-01-31 #
- Update
pay_iosto1.0.6, which addspostalAddressto the payment result.
1.0.7 - 2022-01-04 #
- Update
pay_androidto1.0.6, which uses a stable version offlutter_svg.
1.0.6 - 2021-10-04 #
Features #
- Make the package available for iOS versions lower than 12.0 (#36).
- Capture the dismissal of the payment selector and expose it to the Flutter end through the
onErrorcallback (#90, #61).
Fixes #
- Fix not being able to capture a payment result on the second and further payment attempts (#80).
1.0.5 - 2021-06-08 #
1.0.4 - 2021-06-01 #
Enrich dartdoc comments to facilitate the adoption of the package.
1.0.3 - 2021-05-26 #
Fixes #
- Fix incorrect handling of billing and shipping addresses for Apple Pay.
1.0.0 - 2021-05-10 #
Initial release of this plugin.
Features #
- Support for Apple Pay and Google Pay.
- Two integration paths: a set of simple drop-and-go widgets, and separate classes to create custom integrations.
- Support for multiple payment providers for a single platform.
- Support for the languages supported by the payment providers.