diff --git a/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift b/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift index 60e4222..9cc5203 100644 --- a/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift +++ b/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift @@ -457,7 +457,8 @@ public extension SwedbankPaySDK { self.launchClientApp(task: launchClientApp.firstTask(with: .launchClientApp)!) } else if let scaMethodRequest = operations.first(where: { $0.firstTask(with: .scaMethodRequest) != nil }), let task = scaMethodRequest.firstTask(with: .scaMethodRequest), - task.href != nil, + let href = task.href, + !href.isEmpty, !scaMethodRequestDataPerformed.contains(where: { $0.name == task.expects?.first(where: { $0.name == "threeDSMethodData" })?.value ?? "null" }) { DispatchQueue.main.async { self.webViewService.load(task: task) { result in