From ee660bee4af3483939395c81b6341279ecfa92ee Mon Sep 17 00:00:00 2001 From: Ugo Ejikeme Date: Sat, 25 Jun 2016 09:57:01 +0000 Subject: [PATCH 1/2] correct mistake in referencing constant --- src/Paystack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paystack.php b/src/Paystack.php index a3646a1..8c78526 100644 --- a/src/Paystack.php +++ b/src/Paystack.php @@ -170,7 +170,7 @@ public function isTransactionVerificationValid() case self::VS: $validate = true; break; - case self:ITF: + case self::ITF: $validate = false; break; default: From 91ffc21b07a08d7c32c037c10069318997ade805 Mon Sep 17 00:00:00 2001 From: Ugo Ejikeme Date: Sat, 25 Jun 2016 10:00:25 +0000 Subject: [PATCH 2/2] imported exception classes --- src/Paystack.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Paystack.php b/src/Paystack.php index 8c78526..16d596d 100644 --- a/src/Paystack.php +++ b/src/Paystack.php @@ -13,6 +13,8 @@ use GuzzleHttp\Client; use Illuminate\Support\Facades\Config; +use Unicodeveloper\Paystack\Exceptions\IsNullException; +use Unicodeveloper\Paystack\Exceptions\PaymentVerificationFailedException; class Paystack {