Skip to content

Commit

Permalink
fix(enabler): payment/details url
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjcamposct committed Feb 28, 2024
1 parent d252528 commit 5ba500d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enabler/src/payment-enabler/adyen-payment-enabler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 5ba500d

Please sign in to comment.