feat: ( payments ) convert ETB to method currency before charging

This commit is contained in:
Abubeker Yasin
2026-06-29 11:55:31 +03:00
parent c6e56d1c4f
commit b70e9ea2cd
7 changed files with 100 additions and 65 deletions

View File

@@ -18,6 +18,7 @@ import { PaymentEventsConsumer } from "./payment-events.consumer";
import { ServiceAuthGuard } from "../../common/guards/service-auth.guard";
import { SeatsModule } from "../seats/seats.module";
import { TicketsModule } from "../tickets/tickets.module";
import { CurrencyModule } from "../currency/currency.module";
const PASSENGER_QUEUE = PAYMENT_QUEUES[PaymentService.PASSENGER];
@@ -51,6 +52,7 @@ function rabbitMQImport(): DynamicModule[] {
imports: [
SeatsModule,
TicketsModule,
CurrencyModule,
HttpModule.register({ timeout: 10_000 }),
...rabbitMQImport(),
],