Skip to content

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

6.1.3

06 Jun 09:03
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where ValidatorExpirationDate would use devices locale settings. Now it always uses Gregorian calendar.

6.1.2

16 Apr 07:08
Compare
Choose a tag to compare

Updated:

  • Updated dependencies

6.1.1

12 Nov 09:19
Compare
Choose a tag to compare

Added:

  • Added an isInstallments property to PaymentContext. The value is false by default and will be used during an IIN Details call. The property is used to determine the availability of credit cards for payments that will be made in installments.

Updated:

  • Updated the PaymentContext constructor to include an isInstallments parameter. This parameter is optional and it is false by default. The constructor now looks like PaymentContext(PaymentAmountOfMoney, Bool, String, Bool?).

6.1.0

23 Sep 09:33
Compare
Choose a tag to compare

Added:

  • Added a Data Collection Privacy Manifest.
  • Added support for Swift Package Manager. Follow the steps in the README to include the package via SPM.
  • Added AliPay+ logo.
  • Added AliPay+ translations.

Fixed:

  • Fixed an issue where some request URLs had an additional “/”.

Updated:

  • Renamed all translations files to WCSDKLocalizable.strings.
  • Changed the value of kSDKLocalizable in SDKConstants to “WCSDKLocalizable”.
  • The SDK now uses SPM dependencies instead of Carthage dependencies.
  • Updated Trustly logo to its latest version.

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