@@ -18,6 +18,8 @@ trait OrderUtilsPaymentTrait | |||
$orderPayment->setReference($reference); | |||
$orderPayment->setComment($comment); | |||
$orderPayment->setEditable(false); | |||
$orderPayment->setCreatedBy($orderShop->getUser()) ; | |||
$orderPayment->setUpdatedBy($orderShop->getUser()) ; | |||
if ($paidAt) { | |||
$orderPayment->setPaidAt($paidAt); |