Skip to content

Releases: Worldline-Global-Collect/connect-sdk-client-swift

6.0.1

29 Mar 12:56
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the collected metadata did not properly identify the SDK in case of the Flutter SDK.

6.0.0

19 Mar 10:14
Compare
Choose a tag to compare

This SDK is a rebranded and updated version of the SDK that was previously published under the Ingenico name. Next to renaming to Worldline, most deprecations have been removed. Please have a look at the release notes below to see what has changed and use the migration guide to upgrade from the previous version in a few easy steps. Previous versions and release notes of this SDK can be found here.

An overview of the changes:

Added:

  • isEditingAllowed() function to AccountOnFileAttribute. Use this function to check if the AccountOnFileAttribute can be edited or not
  • The method privacyPolicy was added to the ClientApi to retrieve the policy for a paymentProductId and/or locale. Providing no paymentProductId will retrieve all available payment product policies. Providing no locale will return the default 'en_US' locale

Fixed:

  • Fixed an issue where using an Account on File without modifying values returned validation errors
  • displayHints property in PaymentProductField is now of type PaymentProductFieldDisplayHints?
  • image of a Tooltip is now set, previously it was nil unless it was the first PaymentProductField of the list.

Changed:

  • Renamed pod from IngenicoConnectKit to WorldlineConnectKit
  • Updated the project structure of the SDK
  • countryCode property in PaymentContext is now of type String
  • countryCode property in IINDetailsResponse is now of type String?
  • currencyCode property in PaymentAmountOfMoney is now of type String

Deprecated:

  • countryCodeString property in PaymentContext has been deprecated. Use countryCode instead
  • countryCodeString property in IINDetailsResponse has been deprecated. Use countryCode instead
  • currencyCodeString property in PaymentAmountOfMoney has been deprecated. Use currencyCode instead

Removed:

  • Region, Environment, CurrencyCode and CountryCode enums have been removed
  • Session(String, String, Region, Environment, String, Bool) has been removed. This class should not be used, use ConnectSDK and ClientApi instead
  • convert(Int, CurrencyCode, CurrencyCode, (Int) -> Void, (Error) -> Void) and directory(String, CountryCode, CurrencyCode, (DirectoryEntries) -> Void, (Error) -> Void) in Session have been removed. This class should not be used, use ConnectSDK and ClientApi instead
  • isEnvironmentTypeProduction property in Session has been removed. This class should not be used, use ConnectSDK and ClientApi instead
  • Properties region, environment and isEnvironmentTypeProduction in C2SCommunicator have been removed. This class should not be used, use ConnectSDK and ClientApi instead
  • C2SCommunicator(String, String, Region, Environment, String, Util?, Bool) and C2SCommunicator(String, String, Region, Environment, String, String?, Util?, Bool) have been removed. This class should not be used, use ConnectSDK and ClientApi instead
  • C2SBaseURL(Region, Environment) and assetsBaseURL(Region, Environment) in Util have been removed. This class should not be used
  • PaymentContext(PaymentAmountOfMoney, Bool, CountryCode) has been removed
  • IINDetailsResponse(String, IINStatus, [IINDetail], CountryCode, Bool) has been removed
  • PaymentAmountOfMoney(Int, CurrencyCode) has been removed