feat(payments): improve VNPay, MoMo, ZaloPay services with ConfigService

Migrate payment gateway services from hardcoded config to NestJS
ConfigService injection. Improve payment handler error handling and
update gateway factory specs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-09 09:43:19 +07:00
parent c9fc1f52cb
commit f15e98a33b
17 changed files with 17 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
export { PaymentsModule } from './payments.module';
export { PAYMENT_REPOSITORY, type IPaymentRepository } from './domain/repositories/payment.repository';
export { PAYMENT_GATEWAY_FACTORY, type IPaymentGatewayFactory } from './infrastructure/services/payment-gateway.interface';
export { PaymentCompletedEvent } from './domain/events/payment-completed.event';