Skip to content

Releases: Adyen/adyen-ios

4.12.0

22 Mar 10:55
20c9ee6
Compare
Choose a tag to compare

New

  • The PrivacyInfo.xcprivacy lists all the data collected by Drop-In and Components.

Changed

  • 3D Secure 2 SDK version: 2.4.1

4.11.2

30 Jan 15:29
3f4dda5
Compare
Choose a tag to compare

Fixes

5.6.0

26 Jan 15:21
96a0139
Compare
Choose a tag to compare

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

Fixed

  • For Apple Pay, when the allowOnboarding property of ApplePayConfiguration.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

11 Dec 09:40
99cb084
Compare
Choose a tag to compare

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, include showInstallmentAmount:
      true and installmentOptions.
      We use these values to show installment options in the picker.
    • For Advanced flow, in the InstallmentConfiguration object, set showInstallmentAmount to true when you initialize it.
  • 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

10 Nov 15:10
aadfd1e
Compare
Choose a tag to compare

Fixes

  • Xcode 15 compatibility for encryption

5.4.1

31 Oct 13:05
920165c
Compare
Choose a tag to compare

Fixed

  • For Apple Pay using Drop-in, the Apple Pay payment form is now properly dismissed when the shopper cancels the payment.

5.4.0

29 Sep 10:54
e99f773
Compare
Choose a tag to compare

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 triggers ActionComponentDelegate.didOpenExternalApplication.
  • Bancontact cards are now supported in the CardComponent
  • Dual-branded Bancontact cards now allow brand selection in the BCMCComponent

Changed:

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 call didCancel.
  • 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 supports AlertViewController.
  • The formValueItemView no longer has a memory leak.

4.11.0

19 Sep 11:47
bde64b2
Compare
Choose a tag to compare

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

05 Sep 12:14
a479063
Compare
Choose a tag to compare

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

5.3.0

15 Aug 09:17
340f317
Compare
Choose a tag to compare

Important

This release is not compatible with Xcode 15
Please consider updating to 5.4.0 or newer

Removed

func didComplete(with resultCode: SessionPaymentResultCode, component: Component, session: AdyenSession)

Use the new didComplete method with the AdyenSessionResult object instead.

Changed

  • The countryCode property of AdyenSession.Context is now optional to allow not including it in the /sessions request. Because this property isn't meant to be read, this breaking change shouldn't cause any build errors.

  • 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.

New

  • The Session delegate has a new didComplete method with the AdyenSessionResult object. This ensures that the callback is compatible with potential backend changes.

    func didComplete(with result: AdyenSessionResult, component: Component, session: AdyenSession)
    

    This replaces the removed didComplete function.

  • For Apple Pay, ApplePayConfiguration now supports the capabilities of PKPaymentRequest. Pass PKPaymentRequest when initializing Apple Pay. For example:

    public init(paymentRequest: PKPaymentRequest, allowOnboarding: Bool = false)
    
  • You can now set the formatting for monetary values. Use the locale property on LocalizationParameters.

  • You can now enforce a specific locale and formatting for monetary values regardless of the locale used by the shopper's device. Use LocalizationParameters(enforcedLocale: MY_LOCALE).

  • You can now configure the payment form to suggest billing addresses when the shopper starts to enter their address. Set the configuration.card.billingAddress.mode to .lookup(handler: LookupHandler).

  • For the gift cards using Drop-in, you can now configure the visibility of the security code field. Set showsSecurityCodeField (boolean) in the giftcard payment method configuration.

Improved

  • When the shopper selects a country and region in the payment form, the selection is now fullscreen and includes a search input field where the shopper can enter a value to search for.
  • For cards:
    • The address input form now shows on a separate screen.
    • Icons now have accessibility labels. When the shopper selects the Pay button, and an input field is invalid, focus moves to the field.
  • Remove property applePayCardNetwork from ApplePayDetails that was causing conflicts on some API libraries.