Adyen
STEP 1
ADYEN ACCOUNT
Obtain Merchant_Account, API_Key and API_URL from Adyen. The integration is using Classic API V52, so the API_URL should end in /v52/. Be sure to include the ending slash.
https://docs.adyen.com/development-resources/live-endpoints#classic-payments-endpoints
The URL should be structured as: https://[prefix]-pal-live.adyenpayments.com/pal/servlet/Payment/v52/
Have your account set for LIVE API/PCI role, which may require submitting the CheckoutChamp PCI documentation. Please contact your account manager if this is needed.
Have your account set to “immediate” capture for “sale” or “delay” capture for “authorize”
Discuss with Adyen if you need to enable recurring orders
STEP 2
In the CRM, go to Gateways >Gateway Integrations, Scroll down to Adyen and click the logo. Then click the Activate button.
STEP 3
Fill the fields below. Select “No” on Secure3DS if it is for Non-3DS.
Skip steps 4-6 if using CheckoutChamp hosted pages
STEP 4
Add the hidden input browserData inside of the same form as the card input.
<input type="hidden" name="browserData" value="" id="browserData">
STEP 5
Add this script to your page before the closing body tag.
Script to get browserData:
<script type="text/javascript">
const navigator = window.navigator;
const browserData = {
acceptHeader: 'application/json',
colorDepth: screen.colorDepth,
javaEnabled: navigator.javaEnabled(),
javaScriptEnabled: true,
language: navigator.language,
screenHeight: screen.height,
screenWidth: screen.width,
timeZoneOffset: (new Date()).getTimezoneOffset().toString(),
userAgent: navigator.userAgent
};
document.getElementById('browserData').value = JSON.stringify(browserData);
</script>
STEP 6
For 3DS your checkout page must support the standard 3DS workflow