Skip to content

Commit

Permalink
Update zarinpalZg.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MA7 committed Aug 25, 2013
1 parent bca3f52 commit bf7da75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions catalog/controller/payment/zarinpalZg.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public function confirm() {
$json['success']= $this->data['action'];
$this->response->setOutput(json_encode($json));
} else {
echo'ERR: '.$res->Status;
$this->CheckState($res);
//die();
}
Expand Down Expand Up @@ -145,6 +146,7 @@ function verify_payment($authority, $amount){
$this->RefId = $res->RefId;
return true;
} else {
echo'ERR: '.$res->Status;
return false;
}
}
Expand Down

0 comments on commit bf7da75

Please sign in to comment.