From c6dfdbaff6288826b5030af43c8e1f78a85ce249 Mon Sep 17 00:00:00 2001 From: Hamed Date: Thu, 4 Aug 2016 18:32:50 +0430 Subject: [PATCH] =?UTF-8?q?=D8=AE=D8=B7=D8=A7=DB=8C=20=D8=AA=D8=B1=D8=A7?= =?UTF-8?q?=DA=A9=D9=86=D8=B4=20=D8=B2=D8=B1=DB=8C=D9=86=20=D9=BE=D8=A7?= =?UTF-8?q?=D9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/src/Zarinpal/Zarinpal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/Zarinpal/Zarinpal.php b/src/src/Zarinpal/Zarinpal.php index a0e81f81..507f2ae7 100644 --- a/src/src/Zarinpal/Zarinpal.php +++ b/src/src/Zarinpal/Zarinpal.php @@ -224,7 +224,7 @@ protected function verifyPayment() throw $e; } - if ($response->Status != 100) { + if ($response->Status != 100 && $response->Status != 100) { $this->transactionFailed(); $this->newLog($response->Status, ZarinpalException::$errors[$response->Status]); throw new ZarinpalException($response->Status);