Merge branch 'dev' into freight/feat/invoice

This commit is contained in:
Nathnael Wondisha
2026-06-29 17:24:29 +03:00
committed by GitHub
42 changed files with 2337 additions and 207 deletions

View File

@@ -20,6 +20,7 @@ export class PaymentClientService {
private readonly baseUrl = (
// process.env.PAYMENT_API_URL ??
"https://paymentcallback.triaplc.com"
// "http://localhost:3003"
).replace(/\/$/, "");
private readonly serviceToken = process.env.SERVICE_AUTH_TOKEN ?? "";

View File

@@ -472,6 +472,7 @@ export class PaymentService {
paidAt: event.paidAt ? new Date(event.paidAt) : undefined,
notify: true,
});
// console.log(`Payment finalized for booking ${event.referenceId}, intent ${intent.id}, alreadyFinalized: ${alreadyFinalized}`);
return { processed: true, alreadyFinalized };
}