From 2ed84ca5ba258ab2764b1d75e30a6e59548bdb64 Mon Sep 17 00:00:00 2001 From: MohammadMahdi Afshar Date: Fri, 7 Aug 2020 13:03:16 +0430 Subject: [PATCH] fixed string parse Authority on new version 'next.zarinpal.com' are no longer integer. --- src/Zarinpal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zarinpal.php b/src/Zarinpal.php index 4c60a5d..347ce88 100644 --- a/src/Zarinpal.php +++ b/src/Zarinpal.php @@ -7,7 +7,7 @@ class Zarinpal { - private $redirectUrl = 'https://www.zarinpal.com/pg/StartPay/%u'; + private $redirectUrl = 'https://www.zarinpal.com/pg/StartPay/%s'; private $merchantID; private $driver; private $Authority;