From e44f0480edadbaeadaf4b64993d5854797148cb7 Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Wed, 8 Jan 2025 12:23:19 -0800 Subject: [PATCH] make : before status --- Sources/CardPayments/CardClient.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/CardPayments/CardClient.swift b/Sources/CardPayments/CardClient.swift index f0c44384..e31b48e9 100644 --- a/Sources/CardPayments/CardClient.swift +++ b/Sources/CardPayments/CardClient.swift @@ -226,7 +226,7 @@ public class CardClient: NSObject { } private func notify3dsCheckoutSuccess(for result: CardResult, completion: (CardResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:approve-order:auth-challenge-succeeded") + analyticsService?.sendEvent("card-payments:approve-order:auth-challenge:succeeded") completion(result, nil) } @@ -236,12 +236,12 @@ public class CardClient: NSObject { } private func notify3dsCheckoutFailure(with error: CoreSDKError, completion: (CardResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:approve-order:auth-challenge-failed") + analyticsService?.sendEvent("card-payments:approve-order:auth-challenge:failed") completion(nil, error) } private func notify3dsCheckoutCancelWithError(with error: CoreSDKError, completion: (CardResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:approve-order:auth-challenge-canceled") + analyticsService?.sendEvent("card-payments:approve-order:auth-challenge:canceled") completion(nil, error) } @@ -251,7 +251,7 @@ public class CardClient: NSObject { } private func notify3dsVaultSuccess(for vaultResult: CardVaultResult, completion: (CardVaultResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge-succeeded") + analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge:succeeded") completion(vaultResult, nil) } @@ -261,12 +261,12 @@ public class CardClient: NSObject { } private func notify3dsVaultFailure(with vaultError: CoreSDKError, completion: (CardVaultResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge-failed") + analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge:failed") completion(nil, vaultError) } private func notify3dsVaultCancelWithError(with vaultError: CoreSDKError, completion: (CardVaultResult?, CoreSDKError?) -> Void) { - analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge-canceled") + analyticsService?.sendEvent("card-payments:vault-wo-purchase:auth-challenge:canceled") completion(nil, vaultError) } }