Skip to content

3.6.0

Latest

Choose a tag to compare

@roman-chugunov-cko roman-chugunov-cko released this 26 Nov 16:29
e28111e

Before you upgrade

  • The minimum deployment target is now iOS 15.0. Apps targeting iOS 13 or 14 can't add 3.6.0; Swift Package Manager will report a platform error.
  • The new API is additive, so no existing code needs to change. For apps already targeting iOS 15 or later, 3.6.0 is a drop-in upgrade from 3.5.0.

Release notes

  • Support for merchant-specific subdomains (MSSD). Checkout3DSService has a new optional baseURLPrefix parameter (Objective-C: initWithEnvironment:locale:uiCustomization:appURL:baseURLPrefix:). Your prefix is the first 8 characters of your client_id after cli_. When it's set, the SDK calls https://{prefix}.api.checkout.com in production and https://{prefix}.api.sandbox.checkout.com in sandbox; when it isn't, nothing changes. The value must be exactly 8 letters or digits. Anything else makes authenticate fail immediately with AuthenticationError.invalidBaseURLPrefix (code 1012), before any network call, and the same error is returned if Checkout.com rejects the subdomain for your account. The standalone flow is not affected.

    let service = Checkout3DSService(
        environment: .production,
        baseURLPrefix: "abcd1234"   // your merchant-specific subdomain prefix
    )
  • Fix for Mastercard out-of-band (banking app) challenges. Some issuers rejected the request the SDK sent after the cardholder approved in their banking app, so the authentication failed. The SDK now sends a request those issuers accept. If the SDK can't open the banking app before the challenge screen is shown, it now reports an automatic continue to the issuer, matching the Android SDK.

  • Stricter validation of challenge responses. Every challenge response, including the final one, now goes through the full EMVCo validation. Encrypted responses are checked for integrity before they are used, and an unencrypted error message from the issuer can no longer be reported as a successful authentication.

  • Strict certificate validation. Issuer signing certificates must pass full chain validation, with no lenient fallback.

  • Secure connections for standalone challenges. The standalone flow now uses the same connection security as the hosted flow, including server-certificate checks, TLS 1.2 or later and request timeouts.

  • Safer handling of issuer logos. Logos on the challenge screen are downloaded over HTTPS only and are size-limited. If an image is rejected, the logo is left blank and the challenge continues.

  • Per-transaction keys are released promptly when a single- or multi-select challenge finishes.

The security changes need no action. In rare cases, an authentication that previously "succeeded" on malformed or unverifiable issuer data will now fail with a protocol error.

Requirements: iOS 15.0+, Xcode 16.1+, Swift 5.10+, arm64 build machines. Supports Objective-C.