From 10a7f0e79c070dd732972b2ac405cc9a6386a8fa Mon Sep 17 00:00:00 2001 From: "andrii.vitvitskyi" Date: Fri, 19 Sep 2025 17:13:46 +0300 Subject: [PATCH] fix(payment): PAYPAL-00 Fixed PPCP FL 3ds nonce --- .../paypal-commerce-fastlane-payment-strategy.spec.ts | 2 +- .../paypal-commerce-fastlane-payment-strategy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.spec.ts b/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.spec.ts index 64335e7e3c..46254bc97c 100644 --- a/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.spec.ts +++ b/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.spec.ts @@ -586,7 +586,7 @@ describe('PayPalCommerceFastlanePaymentStrategy', () => { expect(paypalCommerceRequestSender.createOrder).toHaveBeenCalledWith(methodId, { cartId: cart.id, - fastlaneToken: 'paypal_fastlane_instrument_id_nonce', + fastlaneToken: 'paypal_fastlane_instrument_id_nonce_3ds', }); }); diff --git a/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.ts b/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.ts index 2b6033decf..1f67082edb 100644 --- a/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.ts +++ b/packages/paypal-commerce-integration/src/paypal-commerce-fastlane/paypal-commerce-fastlane-payment-strategy.ts @@ -453,7 +453,7 @@ export default class PaypalCommerceFastlanePaymentStrategy implements PaymentStr throw new PaymentMethodInvalidError(); } - await this.createOrder(paypalNonce); + await this.createOrder(nonce); if (authenticationState === TDSecureAuthenticationState.Succeeded) { return nonce;