From 16f032d3c8ef8bd93b1a52c13d4e9171ce6d244a Mon Sep 17 00:00:00 2001 From: mustapayev Date: Sat, 12 Oct 2024 14:55:34 +0200 Subject: [PATCH] interpos - added a comment --- .../ResponseDataMapper/InterPosResponseDataMapper.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/DataMapper/ResponseDataMapper/InterPosResponseDataMapper.php b/src/DataMapper/ResponseDataMapper/InterPosResponseDataMapper.php index a90d942a..0f4d0282 100644 --- a/src/DataMapper/ResponseDataMapper/InterPosResponseDataMapper.php +++ b/src/DataMapper/ResponseDataMapper/InterPosResponseDataMapper.php @@ -360,6 +360,14 @@ private function map3DCommonResponseData(array $raw3DAuthResponseData, ?array $r 'currency' => $this->mapCurrency($raw3DAuthResponseData['Currency']), 'transaction_time' => isset($raw3DAuthResponseData['TRXDATE']) ? new \DateTimeImmutable($raw3DAuthResponseData['TRXDATE']) : null, 'eci' => $raw3DAuthResponseData['Eci'], + /** + * TxnStat 3D doğrulama sonucunu belirtir : + * Y : Başarılı + * N : Başarısız + * A : Half Secure) + * U : Teknik Hata + * E : Hata + */ 'tx_status' => $raw3DAuthResponseData['TxnStat'], 'cavv' => null, 'md_error_message' => $raw3DAuthResponseData['ErrorMessage'],