Skip to content

Commit

Permalink
fixes dictations
Browse files Browse the repository at this point in the history
  • Loading branch information
hpakdaman authored Jul 19, 2016
1 parent 084ce87 commit 268bd31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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();
Expand Down Expand Up @@ -85,7 +85,7 @@ and in your callback :

try {
$gateway = Gateway::verify();
$gateway = \Gateway::verify();
$trackingCode = $gateway->trackingCode();
$refId = $gateway->refId();
$cardNumber = $gateway->cardNumber();
Expand Down

0 comments on commit 268bd31

Please sign in to comment.