Introduce new payment methods available in PKPaymentNetwork
. See the changelog for pay_ios:1.1.0
for further details.
- 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.
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.
- Use an event channel to handle payment result information on Android.
- Add a complete example of the advanced integration path (see
advanced.dart
).
- (#277, #274, #261, #206) Avoid lifecycle conflicts on Android when the activity managing the payment operation is re-created before the payment result is returned.
Include logic to prevent a subscription for payment result EventChannel
s from being created on platforms that don't support it.
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.
- Use an event channel to handle payment result information on Android.
- Add a complete example of the advanced integration path (see
advanced.dart
).
- (#277, #274, #261, #206) Avoid lifecycle conflicts on Android when the activity managing the payment operation is re-created before the payment result is returned.
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend configuration capabilities.
- ⚠ Introduce the new dynamic button for Google Pay on Android. See the changelog for
pay_android:2.0.0
for a detailed breakdown of the changes. - Update minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lints
for static checks (#182, #210). - Introduce new properties and fixes for the Apple Pay button. See the changelog for
pay_ios:1.0.11
for a detailed breakdown of the changes.
- ⚠ Removed the
Pay.withAssets
constructor. See the readme in thepay_platform_interface
package to review the recommended logic to initialize thePay
client.
Update the Google Pay button to support the last 4 digits of a suitable card for this payment, and extend configuration capabilities.
- ⚠ Introduce the new dynamic button for Google Pay on Android. See the changelog for
pay_android:1.1.0-beta01
for a detailed breakdown of the changes. - Update minimum supported SDK version to Flutter 3.10/Dart 3.0 (#233).
- Use
flutter_lints
for static checks (#182, #210). - Introduce new properties and fixes for the Apple Pay button. See the changelog for
pay_ios:1.0.11
for a detailed breakdown of the changes.
- ⚠ Removed the
Pay.withAssets
constructor. See the readme in thepay_platform_interface
package to review the recommended logic to initialize thePay
client.
- Update
pay_android
to 1.0.11, which includes lifecycle fixes.
- Update
pay_android
to 1.0.10, which includes the latest version of theflutter_svg
package.
- Widgets inheriting from
PayButton
now receive the payment configuration using thepaymentConfiguration
parameter, which expects aPaymentConfiguration
object. This allows building configuration objects from assets or strings (see #7). The previouspaymentConfigurationAsset
property 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
Map
to configure aPay
client, where the key is aPayProvider
and the value is aPaymentConfiguration
.
- Update
pay_android
to1.0.8
, which includes the new specification for the Google Pay button.
- Update
pay_ios
to1.0.7
, which adds thetransactionIdentifier
property to the payment result.
- Add support for Flutter 3 in the sample application.
- Update
pay_android
to1.0.7
, which adds support for Flutter 3 to the package.
- Update
pay_ios
to1.0.6
, which addspostalAddress
to the payment result.
- Update
pay_android
to1.0.6
, which uses a stable version offlutter_svg
.
- 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
onError
callback (#90, #61).
- Fix not being able to capture a payment result on the second and further payment attempts (#80).
- Expose the
PaymentConfiguration
class through thepay
package (#53). - Fix incorrect
late init
use at initialization time for thePay
class (#54).
Enrich dartdoc
comments to facilitate the adoption of the package.
- Fix incorrect handling of billing and shipping addresses for Apple Pay.
- Update dependencies.
- Correctly flag the package as a plugin.
- Updated the guide in the readme.
Initial release of this plugin.
- 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.