add credit card payment method
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-07 16:56:55 +03:30
parent caaeb0d34a
commit 89fa1d637e
14 changed files with 155 additions and 9 deletions
@@ -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);