From 24dca35d1819bdfb2231d248ed25e75f3e72c149 Mon Sep 17 00:00:00 2001 From: Jax DesMarais-Leder Date: Thu, 5 Dec 2024 10:51:48 -0600 Subject: [PATCH] update name to requestorAppURL --- Sources/BraintreeThreeDSecure/BTThreeDSecureRequest.swift | 2 +- Sources/BraintreeThreeDSecure/BTThreeDSecureV2Provider.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/BraintreeThreeDSecure/BTThreeDSecureRequest.swift b/Sources/BraintreeThreeDSecure/BTThreeDSecureRequest.swift index 5d00f4df5..707311737 100644 --- a/Sources/BraintreeThreeDSecure/BTThreeDSecureRequest.swift +++ b/Sources/BraintreeThreeDSecure/BTThreeDSecureRequest.swift @@ -95,7 +95,7 @@ import BraintreeCore /// Optional. Three DS Requester APP URL Merchant app declaring their URL within the CReq message /// so that the Authentication app can call the Merchant app after OOB authentication has occurred. - public var threeDSRequestorAppURL: String? + public var requestorAppURL: String? /// A delegate for receiving information about the ThreeDSecure payment flow. public weak var threeDSecureRequestDelegate: BTThreeDSecureRequestDelegate? diff --git a/Sources/BraintreeThreeDSecure/BTThreeDSecureV2Provider.swift b/Sources/BraintreeThreeDSecure/BTThreeDSecureV2Provider.swift index 3dcbce360..99cd10f9c 100644 --- a/Sources/BraintreeThreeDSecure/BTThreeDSecureV2Provider.swift +++ b/Sources/BraintreeThreeDSecure/BTThreeDSecureV2Provider.swift @@ -45,8 +45,8 @@ class BTThreeDSecureV2Provider { cardinalConfiguration.renderType = renderTypes.compactMap { $0.cardinalValue } } - if let threeDSRequestorAppURL = request.threeDSRequestorAppURL { - cardinalConfiguration.threeDSRequestorAppURL = threeDSRequestorAppURL + if let requestorAppURL = request.requestorAppURL { + cardinalConfiguration.threeDSRequestorAppURL = requestorAppURL } guard let cardinalAuthenticationJWT = configuration.cardinalAuthenticationJWT else {