Skip to content

Commit

Permalink
examples - created createCancelOrder method
Browse files Browse the repository at this point in the history
  • Loading branch information
nuryagdym committed Oct 15, 2023
1 parent d26b60e commit 8ee7233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/_common-codes/regular/cancel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

function createCancelOrder(PosInterface $pos, \Symfony\Component\HttpFoundation\Session\SessionInterface $session, string $ip): array
{
// başarılı ödeme sonucunda dönen $pos->getResponse() verisi
$lastResponse = $session->get('last_response');

if (!$lastResponse) {
Expand Down

0 comments on commit 8ee7233

Please sign in to comment.