This commit is contained in:
marshal
2026-06-29 15:17:51 +03:00
parent a83a686f37
commit 6685a3ba76

View File

@@ -163,6 +163,10 @@ export class PaymentService {
failureUrl: 'https://edrfreight.triaplc.com/payment/failure',
});
await this.datasource.getRepository(Booking).update(
{ id: dto.bookingId },
{ paymentStatus: "PAID", status: "PAID" },
);
const intent = await this.syncIntentProjection(booking.id, booking, snapshot);
if (snapshot.status === ProviderPaymentStatus.SUCCEEDED) {