Upgrading to 2.0.0
Introduction
In this release, we've added a possibility to remove saved credit cards.
Requirements
- commercetools integration 1.8.3+.
Updating the configuration
The removing feature requires additional configuration inside middleware.config.js
.
module.exports = {
integrations: {
// ...
adyen: {
location: '@vsf-enterprise/adyen-commercetools/server',
configuration: {
ctApi: {
// ...
},
adyenMerchantAccount: "VSFAccount243ECOM",
+ adyenRecurringApiBaseUrl: 'https://pal-test.adyen.com',
+ adyenApiKey: '***',
origin: "http://localhost:3000",
buildRedirectUrlAfter3ds1Auth: (paymentAndOrder) => `/checkout/thank-you?order=${paymentAndOrder.order.id}`,
buildRedirectUrlAfter3ds1Error: (err) => '/?3ds1-server-error'
}
}
},
};
adyenRecurringApiBaseUrl
- for sandbox it should behttps://pal-test.adyen.com
, and for live it should behttps://{PREFIX}-pal-live.adyenpayments.com
, you can read more about it here (opens new window),adyenApiKey
- your Adyen's API key.