From b02f559d9e5babf54524677ca9c2d9955bd9ce2f Mon Sep 17 00:00:00 2001 From: Peter NDENGO Date: Fri, 24 Nov 2023 13:02:38 +0100 Subject: [PATCH] Change id stripe payment --- src/modules/smart-contract/payment.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/smart-contract/payment.controller.ts b/src/modules/smart-contract/payment.controller.ts index 6fd497e..610a539 100644 --- a/src/modules/smart-contract/payment.controller.ts +++ b/src/modules/smart-contract/payment.controller.ts @@ -297,7 +297,7 @@ export class PaymentController { conversionRate: currencyRate, senderId, ownerId: patientId, - stripePaymentId: null, + stripePaymentId: "admin", voucher: voucherJSON, status: TransactionStatus.PENDING, }); @@ -329,7 +329,7 @@ export class PaymentController { } } catch (err) { logError(`Error processing webhook event: ${err}`); - return { error: 'Failed to process webhook event' }; + return { error: 'Failed to process payment event' }; } }