This commit is contained in:
natib21
2026-06-29 12:25:36 +00:00
parent aac790292b
commit fc95d48d28

View File

@@ -293,8 +293,6 @@ export class PaymentService {
// if (!intent) throw new NotFoundException("PaymentIntent not found");
// if (intent.status === "success") return { alreadyFinalized: true };
const paidAt = input.paidAt ?? new Date();
// Every booking is a real shipment now (contracts are a separate aggregate),
// so payment always settles the booking to PAID and enters allocation.
await this.datasource.transaction(async (mg) => {