This commit is contained in:
@@ -115,6 +115,8 @@ export class OrdersService {
|
||||
status: PaymentStatusEnum.Pending,
|
||||
method: order.paymentMethod.method,
|
||||
gateway: order.paymentMethod.gateway ?? null,
|
||||
...(cart.attachments?.length ? { attachments: cart.attachments } : {}),
|
||||
...(cart.paymentDesc ? { description: cart.paymentDesc } : {}),
|
||||
});
|
||||
|
||||
em.persist(payment);
|
||||
|
||||
Reference in New Issue
Block a user