v7.0.0
Pre-release
Pre-release
Extension module
Important Breaking Changes ⚠️
The extension module now supports multitenancy setup and this change is no longer compatible with previous versions.
Migration guide
- The configuration for Extension module has changed. Now it requires one environment variable
ADYEN_INTEGRATION_CONFIG
with JSON as its value. Remove all existing environment variables and add an environment variableADYEN_INTEGRATION_CONFIG
. For more information, see the How to run guide - 2 new attributes are added to the commercetools custom type
ctp-adyen-integration-web-components-payment-type
. These attributes arecommercetoolsProjectKey
andadyenMerchantAccount
. Please compare your current custom type and the new custom type and create these attributes. - In order for
commercetools-adyen-integration
to know which project it should communicate with, this new custom fields must be provided. The payment object must contain the following 2 custom fields:- Provide merchant account as a custom field called
adyenMerchantAccount
on create payment. - Provide commercetools project key as a custom field called
commercetoolsProjectKey
on create payment.
In case any of those fields are not provided, payment creation will be rejected.
- Provide merchant account as a custom field called
Notification module
Important Breaking Changes ⚠️
The notification module now supports multitenancy setup and this change is no longer compatible with previous versions.
Migration guide
- The configuration for Notification module has changed. Now it requires one environment variable
ADYEN_INTEGRATION_CONFIG
with JSON as its value. Remove all existing environment variables and add an environment variableADYEN_INTEGRATION_CONFIG
. For more information, see the How to run guide.
Both modules
New features
- Support for multitenancy - one instance of Extension or Notification module can serve multiple commercetools projects and multiple adyen merchant accounts
- New deployment scripts for AWS Lambda and Google Functions
Improvements
- Add caching for commercetools API tokens so that they could be reused for every requests.