diff --git a/src/Response.php b/src/Response.php index c9c6e2c..b06c70e 100644 --- a/src/Response.php +++ b/src/Response.php @@ -72,7 +72,7 @@ protected function verifyData() 'NONCE', ]; - $dateToVerify = []; + $dataToVerify = []; /** * Response from borica @@ -97,11 +97,11 @@ protected function verifyData() $responseFromBorica['CURRENCY'] = 'USD'; } - $dateToVerify[] = $responseFromBorica[$key]; + $dataToVerify[] = $responseFromBorica[$key]; } } - $this->verifyPublicSignature($dateToVerify, $responseFromBorica['P_SIGN']); + $this->verifyPublicSignature($dataToVerify, $responseFromBorica['P_SIGN']); $this->dataIsVerified = true; }