Skip to content

Commit

Permalink
Merge pull request #13 from larabook/dev
Browse files Browse the repository at this point in the history
خطای بانک پارسیان
  • Loading branch information
hpakdaman committed May 20, 2016
2 parents 3cf613d + cce85c9 commit 8ea20d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ You can make connection to bank by several way (Facade , Service container):

// Your code here

$gateway->redirect();
return $gateway->redirect();
} catch (Exception $e) {
Expand Down
2 changes: 1 addition & 1 deletion src/Parsian/Parsian.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function sendPayRequest()
*/
protected function verifyPayment()
{
if (!isset(Input::get('au')) && !isset(Input::get('rs')))
if (!Input::has('au') && !Input::has('rs'))
throw new ParsianErrorException('درخواست غیر معتبر', -1);

$authority = Input::get('au');
Expand Down

0 comments on commit 8ea20d1

Please sign in to comment.