From 268bd31aefd76ffc50e5cf92f6a54534751ee0ac Mon Sep 17 00:00:00 2001 From: Hamed Date: Tue, 19 Jul 2016 08:12:46 +0430 Subject: [PATCH] fixes dictations --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d34ae110..aac8f4e2 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ STEP 2 : Add `provider` and `facade` in config/app.php 'aliases' => [ ... - 'Gateway' => \Larabookir\Gateway\Gateway::class, // <-- add this line at the end of aliases array + 'Gateway' => Larabookir\Gateway\Gateway::class, // <-- add this line at the end of aliases array ] Step 3: @@ -56,7 +56,7 @@ You can make connection to bank by several way (Facade , Service container): try { - $gateway = Gateway::make(new Mellat()); + $gateway = \Gateway::make(new \Mellat()); // $gateway->setCallback(url('/path/to/calback/route')); You can also change the callback $gateway->price(1000)->ready(); $refId = $gateway->refId(); @@ -85,7 +85,7 @@ and in your callback : try { - $gateway = Gateway::verify(); + $gateway = \Gateway::verify(); $trackingCode = $gateway->trackingCode(); $refId = $gateway->refId(); $cardNumber = $gateway->cardNumber();