3.2.0
✨🧽 New Apple Pay flow, Maestro & China Union Pay
We just added support for Apple Pay for cases where users still need to register a card in their Apple Pay wallet to complete the payment. We also added the payment methods Maestro and China Union Pay, and better support for SwiftUI.
⚠️ Apple Pay is now always shown by default
By default the SDK will always show Apple Pay, even when users do not already have a card in their Apple Pay wallet. Use the option ApplePayConfig.existingCardRequired
if you only want to show Apple Pay when the user has added a card.
The ApplePayConfig.hasApplePay
availability check now requires a second parameter existingCardRequired:
to indicate whether Apple Pay is available only when a card has already been set up.
Added
- Added enhanced SwiftUI support: To start the SDK from your SwiftUI app, use
View
modifierdatatrans(startWithTransaction:)
ordatatrans(startWithPCIPTokenization:)
instead of the usual view controller presentation. - Added the payment method Maestro
MAU
- Added the payment method China Union Pay
CUP
Changed
identifier
is now directly available onPaymentMethodType
- Improved Flutter integration
- Apple Pay is now available even when the user hasn't yet added a card
Fixed
- Minor bugs