From 1acf16a8787b1f9a1cbdaa0b5ee88afe39a3ad25 Mon Sep 17 00:00:00 2001 From: Narek Zakarian Date: Tue, 30 Jan 2024 17:33:54 +0400 Subject: [PATCH] Process 3DS meta only for ACDC --- .../ppcp-wc-gateway/src/Processor/ThreeDSecureHandlingTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-wc-gateway/src/Processor/ThreeDSecureHandlingTrait.php b/modules/ppcp-wc-gateway/src/Processor/ThreeDSecureHandlingTrait.php index c7010d0d5..e98c66862 100644 --- a/modules/ppcp-wc-gateway/src/Processor/ThreeDSecureHandlingTrait.php +++ b/modules/ppcp-wc-gateway/src/Processor/ThreeDSecureHandlingTrait.php @@ -34,7 +34,7 @@ trait ThreeDSecureHandlingTrait { ): void { $payment_source = $order->payment_source(); - if ( ! $payment_source ) { + if ( ! $payment_source || $payment_source->name() !== 'card' ) { return; }