This commit is contained in:
Tria
2026-06-05 12:54:35 +03:00
parent 7c124d9845
commit c0dc9f5fc5
9 changed files with 2163 additions and 93 deletions

View File

@@ -5,10 +5,12 @@ import { HttpModule } from "@nestjs/axios";
import { PaymentController } from "./payment.controller";
import { ConfigModule } from "@nestjs/config";
import { PaymentRepository } from "./payment.repository";
import { WebhookController } from "./webhooks/webhook.controller";
import { TelebirrWebhookService } from "./webhooks/providers/telebirr.service";
@Module({
imports: [HttpModule, ConfigModule],
providers: [PaymentRepository, PaymentTelebirrStrategy, PaymentService],
controllers: [PaymentController]
providers: [PaymentRepository, PaymentTelebirrStrategy, PaymentService, TelebirrWebhookService],
controllers: [PaymentController, WebhookController]
})
export class PaymentModule { }