From 5ba500db1162edb5049c1c40dac256382887da2d Mon Sep 17 00:00:00 2001 From: "Juan J. Campos" Date: Wed, 28 Feb 2024 16:53:32 +0100 Subject: [PATCH] fix(enabler): payment/details url --- enabler/src/payment-enabler/adyen-payment-enabler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enabler/src/payment-enabler/adyen-payment-enabler.ts b/enabler/src/payment-enabler/adyen-payment-enabler.ts index b092ebe..901d200 100644 --- a/enabler/src/payment-enabler/adyen-payment-enabler.ts +++ b/enabler/src/payment-enabler/adyen-payment-enabler.ts @@ -88,8 +88,8 @@ export class AdyenPaymentEnabler implements PaymentEnabler { paymentReference, }; const url = options.processorUrl.endsWith('/') - ? `${options.processorUrl}payment/details` - : `${options.processorUrl}/payment/details`; + ? `${options.processorUrl}payments/details` + : `${options.processorUrl}/payments/details`; const response = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Session-Id': options.sessionId },