Skip to content

Commit

Permalink
refactor order-payment-confirmation page
Browse files Browse the repository at this point in the history
 - convertim introduces new online payments, therefore the order-payment-confirmation page needs to be refactored
 - removed `useUpdatePaymentStatus` hook that relied on `useUpdatePaymentStatusMutation` which was used only for `GoPay` payment
 - instead, the payment status is now read directly from order detail query
  • Loading branch information
JanMolcik committed Dec 30, 2024
1 parent 5347c0f commit c910e8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model/GoPay/GoPayOrderMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function createGoPayPaymentData(Order $order, ?string $goPayBankSwift): a
[
'orderIdentifier' => $order->getUuid(),
'orderPaymentStatusPageValidityHash' => $order->getOrderPaymentStatusPageValidityHash(),
'orderUrlHash' => $order->getUrlHash(),
],
UrlGeneratorInterface::ABSOLUTE_URL,
),
Expand Down

0 comments on commit c910e8c

Please sign in to comment.