Skip to content

Commit

Permalink
Notification scope update
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Jul 18, 2024
1 parent 15da066 commit 02666da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Tpay/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function execute(): ?Response
{
$orderId = base64_decode($_POST['tr_crc']);
$order = $this->tpayService->getOrderById($orderId);
$storeId = $order->getStoreId() ? (int)$order->getStoreId() : null;
$storeId = $order->getStoreId() ? (int) $order->getStoreId() : null;

if (isset($_POST['card'])) {
return $this->extractCardNotification($storeId);
Expand Down

0 comments on commit 02666da

Please sign in to comment.