Skip to content

Commit

Permalink
Merge pull request #14 from payrexx/hotfix/PP-11349
Browse files Browse the repository at this point in the history
hotfix/PP-11349: GambioShop Cancelled Payment Status Issue (2)
  • Loading branch information
michaelraess authored Mar 12, 2024
2 parents 3e3976d + b9658c1 commit 046827a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Payrexx\PayrexxPaymentGateway\Classes\Controller\PayrexxPaymentController;
use Payrexx\PayrexxPaymentGateway\Classes\Service\OrderService;
use Payrexx\Models\Response\Transaction;
use Exception;

/**
* Class PayrexxPaymentGatewayBase.
Expand Down Expand Up @@ -275,6 +276,13 @@ public function payment_action()
} catch (\Payrexx\PayrexxException $e) {
return false;
}
try {
$orderservice = new OrderService();
$orderservice->handleTransactionStatus(
$orderId,
Transaction::WAITING
);
} catch(Exception $e) {}
$payrexxPaymentUrl = str_replace(
'?',
$_SESSION['language_code'] . '/?',
Expand Down

0 comments on commit 046827a

Please sign in to comment.