Skip to content

Commit

Permalink
updated _payment_response.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nuryagdym committed May 22, 2022
1 parent 8fa1240 commit 300f66a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/template/_payment_response.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
} else {
$order = $session->get('order');
}

if (!$order) {
throw new Exception('Sipariş bulunamadı, session sıfırlanmış olabilir.');
}

$pos->prepare($order, $transaction);

Expand Down

0 comments on commit 300f66a

Please sign in to comment.