mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 15:18:11 +00:00
console
This commit is contained in:
@@ -465,6 +465,7 @@ export class PaymentService {
|
||||
failureCode?: string;
|
||||
failureMessage?: string;
|
||||
}): Promise<{ processed: boolean; alreadyFinalized?: boolean; reason?: string }> {
|
||||
console.log(`Received payment event: ${JSON.stringify(event)}`);
|
||||
if (event.eventType === "payment.succeeded") {
|
||||
console.log(`Payment succeeded event received for reference ${event.referenceId}`);
|
||||
const intent = await this.paymentRepo.findOneBy({ refId: event.referenceId });
|
||||
|
||||
Reference in New Issue
Block a user