@vsf-enterprise/adyen-sfcc-sdk
4.0.0
Major Changes
- 08cd8ee: CHANGED Migrated
mountPaymentElementto@adyen/adyen-webv6. Update type imports and@adyen/adyen-webdependency to v6.adyenConfigurationtype renamed fromCoreOptionstoCoreConfiguration. 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";dropinConfigurationtype renamed fromDropinElementPropstoDropinComponentProps. 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";paymentMethodsConfigurationmoved todropinConfiguration(@vsf-enterprise/adyen-sfcc-sdkonly). Pass it insidedropinConfigurationinstead ofadyenConfiguration.countryCodeis now a required field inMountPaymentElementProperties(@vsf-enterprise/adyen-commercetools-sdkonly). Pass a valid ISO two-character country code (e.g.'NL').
Requires@adyen/adyen-webv6. 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-webdependency from^5.xto^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
CoreOptions→CoreConfigurationto match the Adyen Web v6 API. - Renamed type
DropinElementProps→DropinComponentPropsto match the Adyen Web v6 API. - Renamed type
OnPaymentCompletedData→PaymentCompletedDatato 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
onOrderSuccesscallback added to the SDK, which is triggered automatically at the end of the /payment /paymentDetails calls.- CHANGED The
returnUrlconfiguration option has been changed tobaseUrlto reflect updated functionality and can no longer be a function.
- CHANGED The
1.0.2
Patch Changes
- 22eda81: FIXED Unnecessary append of order number to
redirectUrlafter successful payment details submit.
1.0.1
Patch Changes
- 8861147:
createSessioncan be called without parameters.mountPaymentElementno longer requiresadyenConfiguration. SDK Axios client haswithCredentialsset totrueby default.
1.0.0
Major Changes
- Stable version of Adyen SFCC integration, based on the SDK pattern.