diff --git a/src/Crypt/EstPosCrypt.php b/src/Crypt/EstPosCrypt.php index 0d6a2da8..32afddfb 100644 --- a/src/Crypt/EstPosCrypt.php +++ b/src/Crypt/EstPosCrypt.php @@ -24,7 +24,6 @@ public function create3DHash(AbstractPosAccount $posAccount, array $requestData) $requestData['islemtipi'], $requestData['taksit'], $requestData['rnd'], - $requestData['failUrl'], // callbackUrl $posAccount->getStoreKey(), ]; diff --git a/tests/Unit/Crypt/EstPosCryptTest.php b/tests/Unit/Crypt/EstPosCryptTest.php index 1d80273b..0394f19d 100644 --- a/tests/Unit/Crypt/EstPosCryptTest.php +++ b/tests/Unit/Crypt/EstPosCryptTest.php @@ -48,7 +48,7 @@ public function testCreate3DHash(): void 'failUrl' => 'https://domain.com/fail_url', 'rnd' => 'rand', ]; - $expected = 'TN+2/D8lijFd+5zAUar6SH6EiRY='; + $expected = 'S7UxUAohxaxzl35WxHyDfuQx0sg='; $actual = $this->crypt->create3DHash($this->account, $requestData); $this->assertEquals($expected, $actual); @@ -68,7 +68,7 @@ public function testCreate3DHashFor3DPay(): void 'failUrl' => 'https://domain.com/fail_url', 'rnd' => 'rand', ]; - $expected = 'TN+2/D8lijFd+5zAUar6SH6EiRY='; + $expected = 'S7UxUAohxaxzl35WxHyDfuQx0sg='; $actual = $this->crypt->create3DHash($this->account, $requestData); $this->assertEquals($expected, $actual);