From f1c69176fc33d1ef582189d400d258c515aef13e Mon Sep 17 00:00:00 2001 From: Sylvester Date: Mon, 26 Feb 2024 14:52:03 +0100 Subject: [PATCH] Fix capitalization in pSQL function call for order_reference --- src/Repository/PaymentMethodRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository/PaymentMethodRepository.php b/src/Repository/PaymentMethodRepository.php index 555d6256e..6d88f176f 100644 --- a/src/Repository/PaymentMethodRepository.php +++ b/src/Repository/PaymentMethodRepository.php @@ -204,7 +204,7 @@ public function addOpenStatusPayment($cartId, $orderPayment, $transactionId, $or 'transaction_id' => pSQL($transactionId), 'bank_status' => PaymentStatus::STATUS_OPEN, 'order_id' => (int) $orderId, - 'order_reference' => psql($orderReference), + 'order_reference' => pSQL($orderReference), 'created_at' => ['type' => 'sql', 'value' => 'NOW()'], ] );