Releases: Adyen/adyen-ios
5.7.0
New
-
The
PrivacyInfo.xcprivacy
lists all the data collected by Drop-In and Components. -
In the country/region picker for the payment form, you can now choose if the images of flags are shown using
showCountryFlags
.Components
let cardConfiguration = CardComponent.Configuration() cardConfiguration.style.addressStyle.showCountryFlags = true/false let cardComponent = CardComponent(paymentMethod: paymentMethod, context: context, configuration: cardConfiguration)
Drop-In
var style = DropInComponent.Style() style.formComponent.addressStyle.showCountryFlags = cardSettings.showsCountryFlags let dropInConfiguration = DropInComponent.Configuration(style: style) let dropInComponent = DropInComponent(paymentMethods: paymentMethods, context: context, configuration: dropInConfiguration)
Changed
- 3D Secure 2 SDK version: 2.4.1
Fixed
- When
clientKey
is invalid or mismatched with the environment,PublicKeyProvider
now returns a corresponding error message.
4.12.0
4.11.2
Fixes
- For stored card payments using Drop-in, the pay button is now enabled correctly when entering the security code with the Traditional Chinese Cantonese keyboard.
5.6.0
Improved
- For all payment methods that include input fields for the shopper's address, the address input fields are now on a separate screen. This declutters the payment screen to improve user experience.
Changed
- Custom conformances to
PaymentMethod
andStoredPaymentMethod
are now required to beEncodable
.
Fixed
- For Apple Pay, when the
allowOnboarding
property ofApplePayConfiguration.init
is set to true, the onboarding check now runs correctly. - In landscape mode, the search bar height no longer expands and obstructs other visual elements like the issuer list on the screen.
- For stored card payments using Drop-in, the pay button is now enabled correctly when entering the security code with the Traditional Chinese Cantonese keyboard.
5.5.0
New
-
When you offer installment payments, you can now show the number of installments and the amount of each installment in the picker. For example, 3x $20.
- For Sessions flow, when you make a
/sessions
request, includeshowInstallmentAmount
:
true andinstallmentOptions
.
We use these values to show installment options in the picker. - For Advanced flow, in the
InstallmentConfiguration
object, setshowInstallmentAmount
to true when you initialize it.
- For Sessions flow, when you make a
-
Support for library evolution
Changed
For cards, the address lookup feature now supports a 2-step lookup process (for example, used by the Google Maps API):
- First, it allows providing suggested addresses (that might be incomplete)
- Then, optionally, it allows making another API request to complete the suggestions.
You must change the callback as follows:
5.4.1 or earlier | 5.5.0 |
---|---|
.lookup(LookupProvider) | .lookup(AddressLookupProvider) |
Fixed
-
When the shopper's phone number is included in the
shopperInformation
object, the pre-filled phone number prefix on the payment form automatically updates to match the correct country code. -
Drop-in now updates the payment method list after the shopper applies a gift card, in case the available payment methods change because of the updated payment amount.
-
When you define custom localizations in your app bundle using Localizable.strings, they are now applied correctly.
-
The Bizum payment method is no longer shown as an available payment method.
4.11.1
5.4.1
5.4.0
Important
Known Issue: For Apple Pay using Drop-in, the Apple Pay payment form is not dismissed when the shopper cancels the payment.
Please consider updating to 5.4.1
New:
- For redirect payment methods, when the shopper opens the current payment web page in the default browser by tapping the toolbar button,
RedirectComponent
now triggersActionComponentDelegate.didOpenExternalApplication
. - Bancontact cards are now supported in the
CardComponent
- Dual-branded Bancontact cards now allow brand selection in the
BCMCComponent
Changed:
- Support for Xcode 15.
- iOS 11 is no longer supported because it's not supported by Xcode 15.
- CashApp Pay SDK Version: 0.5.1
- The minor units for
the following currencies:
Currency code | Minor units |
---|---|
ISK | 2 |
RSD | 2 |
MRU | 2 |
GHS | 2 |
Fixed:
- A problem no longer occurs where, when the shopper cancelled a payment in progress,
DropInComponentDelegate
didn't calldidCancel
.
- Cash App payments are no longer refused because of the missing
customerId
field in the/payments/details
request. - For payment methods with input forms where the billing address section is separated from the personal details section, the Billing address header has been added.
- The
SwiftUI
helper now supportsAlertViewController
. - The
formValueItemView
no longer has a memory leak.
4.11.0
Important
This release is not compatible with Xcode 15
Please consider updating to 4.11.1 or newer
Changed
- 3D Secure 2 SDK version: 2.3.3
- Added support for Xcode 15
*@Observable
renamed to@AdyenObservable
. - iOS 11 is no longer supported because it's not supported by Xcode 15
4.10.5
Important
This release is not compatible with Xcode 15
Please consider updating to 4.11.1 or newer
New
- Bancontact cards are now supported in the
CardComponent
- Dual-branded Bancontact cards now allow brand selection in the
BCMCComponent
Changed
- 3D Secure 2 SDK version: 2.3.2. Includes enhancements to authentication flows and improved error handling during the in-app 3D Secure 2 challenge.
- The minor units for the following currencies:
Currency code | Minor units |
---|---|
ISK | 2 |
RSD | 2 |
MRU | 2 |
GHS | 2 |