Introduce new payment methods available in PKPaymentNetwork
. New values include:
- .bankAxept
- .bancontact
- .dankort
- .meeza
- .mir
- .nanaco
- .NAPAS
- .pagoBancomat
- .postFinance
- .tmoney
- .waon
Homogeneize the name of the method channel used to communicate with the platforms available.
Introduce new properties and fixes for the Apple Pay button.
- Surface the
cornerRadius
property to theApplePayButton
widget to allow changing the corner roundness of the Apple Pay button (#127).
- Make the
ApplePayButton
widget reactive to changes in the items used to calculate the price (#235).
Bump versions of dependencies and update static analysis tooling.
- Use
flutter_lints
for static checks (#182, #210). - Update minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Fix typo in public property.
- Support for the latest platform interface.
- Include the
transactionIdentifier
property in the Apple Pay result.
- The payment result object contains the following changes:
- Added a
postalAddress
property. - Changed the resulting
name
inPKContact
fromString
toDictionary
. - Trimmed
null
properties before returning the JSON object.
- Added a
- Univocally use the dot character (.) to separate the whole and the decimal part in a decimal number (#84).
- Include billing and shipping addresses on the response (#72).
- 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).
Enrich dartdoc
comments to facilitate the adoption of the package.
- Fix iOS not returning a result after consecutive payment attempts.
- Fix incorrect handling of billing and shipping addresses.
- Update dependencies.
- Fixed typo in the documentation.
Initial release of the iOS bit for the pay plugin.
- Includes a button widget with the flavors and styles available for Apple Pay.