Vue Storefront is now Alokai! Learn More
@vsf-enterprise/adyen-sfcc-sdk

@vsf-enterprise/adyen-sfcc-sdk

4.0.0

Major Changes

  • 08cd8ee: CHANGED Migrated mountPaymentElement to @adyen/adyen-web v6. Update type imports and @adyen/adyen-web dependency to v6.
    adyenConfiguration type renamed from CoreOptions to CoreConfiguration. Update your type imports:
    Before:
    import type { CoreOptions } from "@adyen/adyen-web/dist/types/core/types";
    

    After:
    import type { CoreConfiguration } from "@adyen/adyen-web/auto";
    

    dropinConfiguration type renamed from DropinElementProps to DropinComponentProps. Update your type imports:
    Before:
    import type { DropinElementProps } from "@adyen/adyen-web/dist/types/components/Dropin/types";
    

    After:
    import type { DropinComponentProps } from "@adyen/adyen-web/auto";
    

    paymentMethodsConfiguration moved to dropinConfiguration (@vsf-enterprise/adyen-sfcc-sdk only). Pass it inside dropinConfiguration instead of adyenConfiguration.
    countryCode is now a required field in MountPaymentElementProperties (@vsf-enterprise/adyen-commercetools-sdk only). Pass a valid ISO two-character country code (e.g. 'NL').
    Requires @adyen/adyen-web v6. Ensure your project resolves @adyen/adyen-web@^6. See the Adyen Web v6 migration guide for details.

3.0.0

Major Changes

  • Updated @adyen/adyen-web dependency from ^5.x to ^6.35.0.
  • Migrated all TypeScript type imports from deprecated internal paths (@adyen/adyen-web/dist/types/...) to the package's public entry point (@adyen/adyen-web).
  • Renamed type CoreOptionsCoreConfiguration to match the Adyen Web v6 API.
  • Renamed type DropinElementPropsDropinComponentProps to match the Adyen Web v6 API.
  • Renamed type OnPaymentCompletedDataPaymentCompletedData to match the Adyen Web v6 API.

2.1.0

Minor Changes

  • 6cce319: CHANGED Fixed, an issue with onOrderSuccess, triggering onError in the /payment flow

2.0.0

Major Changes

  • 437bbaa: - ADDED New custom onOrderSuccess callback added to the SDK, which is triggered automatically at the end of the /payment /paymentDetails calls.
    • CHANGED The returnUrl configuration option has been changed to baseUrl to reflect updated functionality and can no longer be a function.

1.0.2

Patch Changes

  • 22eda81: FIXED Unnecessary append of order number to redirectUrl after successful payment details submit.

1.0.1

Patch Changes

  • 8861147: createSession can be called without parameters. mountPaymentElement no longer requires adyenConfiguration. SDK Axios client has withCredentials set to true by default.

1.0.0

Major Changes

  • Stable version of Adyen SFCC integration, based on the SDK pattern.