# Cardinity

**STEP 1**

Obtain **consumer\_key** and **consumer\_secret** from **cardinity**.

**STEP 2**

Activate and edit **cardinity** MID

Use **zeroAuth** to authenticate cards without sending an amount to Cardinity

Use **sendUpsellToken** to send a payment token on upsells. This is highly recommended if 3DS is required on your account. Checking this box may have the consequence of the upsells flagged as recurring orders.

<figure><img src="/files/oE5r2UTyd7k9HSe3nvCS" alt=""><figcaption></figcaption></figure>

**STEP 3**

If 3DS is required on your account, add the hidden input browserData inside of the same form as the card input.

`<input type="hidden" name="browserData" value="" id="browserData">`

**STEP 4**

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

Ensure the checkout page supports standard 3DS processing

[Basic 3DS Instructions](/konnektive-crm/gateway-setup/basic-3ds-instructions.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.konnektive.com/konnektive-crm/gateway-setup/gateways/cardinity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
