Skip to content

Commit c910e8c

Browse files
committed
refactor order-payment-confirmation page
- 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
1 parent 5347c0f commit c910e8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Model/GoPay/GoPayOrderMapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function createGoPayPaymentData(Order $order, ?string $goPayBankSwift): a
5353
[
5454
'orderIdentifier' => $order->getUuid(),
5555
'orderPaymentStatusPageValidityHash' => $order->getOrderPaymentStatusPageValidityHash(),
56+
'orderUrlHash' => $order->getUrlHash(),
5657
],
5758
UrlGeneratorInterface::ABSOLUTE_URL,
5859
),

0 commit comments

Comments
 (0)