-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2317 from Adyen/chore/update_config_to_work_with_…
…api_v69+ Update paymentsConfig to work against API v69+
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
API_VERSION=v68 | ||
API_VERSION=v69 | ||
|
||
CHECKOUT_API_KEY= | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,23 @@ const paymentsConfig = { | |
origin, | ||
returnUrl, | ||
reference: `${identifier}-checkout-components-ref`, | ||
additionalData: { | ||
// Force response code. See https://docs.adyen.com/development-resources/test-cards/result-code-testing/adyen-response-codes | ||
// RequestedTestAcquirerResponseCode: 2, | ||
allow3DS2: true | ||
// To force threeds2InMDFlow: | ||
// comment out "allow3DS2" & comment in the following 2 lines: | ||
// threeDS2InMDFlow: true, | ||
// executeThreeD: true | ||
}, | ||
// Ready for v69 - lose any additionalData 3DS2 related lines e.g. allow3DS2: true | ||
// authenticationData: { | ||
// attemptAuthentication: 'always', | ||
// // To force MDFlow: comment out below, and just keep line above | ||
// threeDSRequestData: { | ||
// nativeThreeDS: 'preferred' | ||
// } | ||
// additionalData: { | ||
// // Force response code. See https://docs.adyen.com/development-resources/test-cards/result-code-testing/adyen-response-codes | ||
// // RequestedTestAcquirerResponseCode: 2, | ||
// allow3DS2: true | ||
// // To force threeds2InMDFlow: | ||
// // comment out "allow3DS2" & comment in the following 2 lines: | ||
// // threeDS2InMDFlow: true, | ||
// // executeThreeD: true | ||
// }, | ||
// Ready for v69+ - lose any additionalData 3DS2 related lines e.g. allow3DS2: true | ||
authenticationData: { | ||
attemptAuthentication: 'always', | ||
// To force MDFlow: comment out below, and just keep line above | ||
threeDSRequestData: { | ||
nativeThreeDS: 'preferred' | ||
} | ||
}, | ||
shopperEmail: '[email protected]', | ||
shopperIP: '172.30.0.1', | ||
// threeDS2RequestData: { | ||
|