Skip to content

Commit

Permalink
Merge pull request #29 from jstjanssens/patch-3
Browse files Browse the repository at this point in the history
Update exchange.php
  • Loading branch information
andypieters authored Jun 28, 2016
2 parents 42c94af + b89b0cd commit e976a2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
try {
$transaction = \Paynl\Transaction::getForExchange();
if($transaction->isBeingVerified()){
// here you can do your own checks en approve or decline the order yourself
// we stop the script after approving or declining, because a new exchange call will follow after declining or approving.
// the status of the new exchange call will be paid (approved) or canceled (declined)
// here you can do your own checks and approve or decline the order yourself
// the script is stopped after approving or declining, after which a new exchange call will follow.
// the status of this new exchange call will be paid (approved) or canceled (declined)
$approved = false; // use your own function to determine if this should be true or false.
$declined = false; // use your own function to determine if this should be true or false.
if($approved){
Expand Down

0 comments on commit e976a2c

Please sign in to comment.