Skip to content

Commit

Permalink
Update GatewayResolver.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hpakdaman authored Apr 24, 2017
1 parent 30c4340 commit 0d236f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GatewayResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public function verify()
if (!$this->request->has('transaction_id') && !$this->request->has('iN'))
throw new InvalidRequestException;
if ($this->request->has('transaction_id')) {
$id = intval($this->request->get('transaction_id'));
$id = $this->request->get('transaction_id');
}else {
$id = intval($this->request->get('iN'));
$id = $this->request->get('iN');
}

$transaction = $this->getTable()->whereId($id)->first();
Expand Down

0 comments on commit 0d236f2

Please sign in to comment.