# Adyen

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2Fyy9FsprTzjoqi2cfX6NI%2Fimage.png?alt=media&#x26;token=9d5447f5-c5b9-442f-9803-4afc520ed2f5" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
This integration uses Adyen's Classic API
{% endhint %}

**STEP 1**

**ADYEN ACCOUNT**

1. Obtain **Merchant\_Accoun**t, **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.
   1. [Live Endpoints | Adyen Docs](https://docs.adyen.com/development-resources/live-endpoints#classic-payments-endpoints)
   2. The URL should be structured as: https\://**\[prefix]**-pal-live.adyenpayments.com/pal/servlet/Payment/v52/
2. Have your account set for LIVE API/PCI role, which may require submitting the Konnektive PCI documentation. Please contact your account manager if this is needed.
3. Have your account set to “immediate” capture for Sale or “delay” capture for Authorize
4. Discuss with Adyen if you need to enable recurring orders

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FEgH5gTiJG6FTgFTgGfUa%2FUntitled.png?alt=media&#x26;token=a8420ed8-cb2f-4b14-b77f-f22c55c89816" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FkogpCoA2KGtaR5KsZkei%2FUntitled-1.png?alt=media&#x26;token=c75ca510-2f0d-4635-abbc-12464cb7fb66" alt=""><figcaption></figcaption></figure>

**STEP 2**

Go to Merchant >Gateway Integrations, Scroll down to Adyen and click the logo then click Activate button

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FhLPZSTpXitVAPqLFHe8T%2FUntitled.png?alt=media&#x26;token=fade78de-305d-4621-a007-218eb5ffa394" alt=""><figcaption></figcaption></figure>

**STEP 3**

Fill the fields below. Select “No” on **Secure3DS** if it is for Non-3DS.

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FOO3yUdRnJFIohsb1q55q%2Fimage.png?alt=media&#x26;token=74441062-582c-4c5a-9f65-2962f12781ca" alt=""><figcaption></figcaption></figure>

**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

[Basic 3DS Instructions](https://help.konnektive.com/konnektive-crm/gateway-setup/basic-3ds-instructions)
