# Centrobill

{% hint style="danger" %}
**Disclaimers:**

Centrobill does not support Authorize or Capture transactions
{% endhint %}

**STEP 1**

Go to **Gateways** > **Gateway Integrations.**  Scroll down to **Centrobill**

<figure><img src="/files/TfHsEE11F2g0TZzCnFkU" alt="" width="375"><figcaption></figcaption></figure>

**STEP 2**

Click the <mark style="color:green;">+</mark> <mark style="color:green;"></mark><mark style="color:green;">**Activate**</mark> button to activate **Centrobill**

<figure><img src="/files/zz6L2hdazvlX7k4ricow" alt="" width="375"><figcaption></figcaption></figure>

**STEP 3**

Enter **Authentication\_Key** and **site\_id.**

Enter **mid** when you have more than one merchant account with Centrobill, to uniquely identify this particular merchant account.

Choose to use Centrobill's **secure3DS** capabilities.

Click the <mark style="color:green;">**Create Gateway**</mark> button to save your changes and create the gateway.

<figure><img src="/files/rMu51EWE3sdWO77AWb7l" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
Steps 4-6 can be skipped if using CheckoutChamp hosted pages
{% endhint %}

**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 type="text/javascript">
    const navigator = window.navigator;
    const browserData = {
        acceptHeader: 'application/json',
        userAgent: navigator.userAgent,
        language: navigator.language,
        timezone: (new Date()).getTimezoneOffset().toString(),
        colorDepth: screen.colorDepth,
        screen: {
            height: screen.height.toString(),
            width: screen.width.toString()
        },
        javaScriptEnabled: true,
        javaEnabled: navigator.javaEnabled()
    };
    document.getElementById('browserData').value = JSON.stringify(browserData);
</script>
```

#### STEP 6

If using Secure 3DS be sure the checkout page supports the challenge requests

[Basic 3DS Instructions](/crm/gateway-setup/direct-api-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.checkoutchamp.com/crm/gateway-setup/gateway-integrations/centrobill.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.
