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()'], ] );