Skip to content

Commit

Permalink
Update Payir.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hpakdaman committed Feb 26, 2018
1 parent c16f8c1 commit 1b1ecef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Payir/Payir.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function getCallback()
*/
protected function sendPayRequest()
{
$this->updTransaction();
$this->newTransaction();
$fields = [
'api' => $this->config->get('gateway.payir.api'),
'amount' => $this->amount,
Expand Down Expand Up @@ -193,4 +193,4 @@ protected function verifyPayment()
$this->newLog($response['errorCode'], PayirReceiveException::$errors[ $response['errorCode'] ]);
throw new PayirReceiveException($response['errorCode']);
}
}
}

0 comments on commit 1b1ecef

Please sign in to comment.