# Integrate Drupal Commerce

## Overview

Integrate Drupal Commerce to be able to process payments through the 2Checkout platform in over 200 countries and more than 100 currencies.

[Drupal Commerce](https://www.2checkout.com/online-shopping-carts/drupal-commerce.html) is revolutionary software integrating commerce, content, and community to create engaging Web experiences that bring e-retailers more traffic to drive more results. With Drupal Commerce, online retailers have a simple yet powerful platform and the flexibility to integrate a rich commerce experience anywhere within their environment.

## Availability

{% hint style="info" %}
Before you are able to start accepting payments, you need to request and finalize the activation of your live account by completing a form, and provide information that will help us verify the business and identity of the individuals involved in your business.
{% endhint %}

Drupal Commerce integration is available only for 2Checkout accounts that handle their own tax and invoice management ( **2Sell** and **2Subscribe**).

## Drupal Commerce Settings

Perform the below set of instructions in your Drupal Commerce account to integrate it with 2Checkout.

1. Download the new 2Checkout module from Github.
2. Upload the files to your server under your store’s directory.
3. Log in to your Drupal Commerce admin area.
4. Navigate to *Commerce → Configuration → Payment* and click on **Payment gateways**.<br>

   <div data-with-frame="true"><figure><img src="/files/P12nCvozgq9CosoTyyLT" alt=""><figcaption></figcaption></figure></div>
5. On the **Payment gateways** page, click on **Add payment gateway**.<br>

   <div data-with-frame="true"><figure><img src="/files/ijVStL3cku2T1vG3ASx5" alt=""><figcaption></figcaption></figure></div>
6. On the **Add payment gateway** page, select **2Checkout ConvertPlus by Verifone/2Checkout InLine by Verifone/2Checkout 2Pay.js.**<br>

   <div data-with-frame="true"><figure><img src="/files/OU5aiYOoXCggWM95PGeO" alt=""><figcaption></figcaption></figure></div>
7. Fill in the rest of the fields on the page:
   * **Display name**
   * **Mode** (select **Test** to be able to place test orders)
   * **Merchant Code** - This is the 2Checkout Merchant Code, and you can find it in the 2Checkout Merchant Control Panel, under [*Integration → Webhooks and API*](https://secure.2checkout.com/cpanel/webhooks_api.php).
   * **Secret Key** - (you can find it in the 2Checkout [Merchant Control Panel](https://secure.2checkout.com/cpanel), under *Integration → Webhooks and API*)
   * **Buy-Link secret Word** (you can find it in the 2Checkout Merchant Control Panel, under *Integration → Webhooks and API*)
   * **Conditions**
8. Select **Enabled** to activate the plugin.
9. Click **Save**.

## About Drupal Commerce

[Drupal Commerce](https://www.2checkout.com/online-shopping-carts/drupal-commerce.html) is revolutionary software integrating commerce, content, and community to create engaging Web experiences that bring e-retailers more traffic to drive more results. With Drupal Commerce, online retailers have a simple yet powerful platform and the flexibility to integrate a rich commerce experience anywhere within their environment.

Drupal Commerce provides the structure you need to do eCommerce without any assumptions about how your business is done.


---

# 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://docs.2checkout.com/connectors/connectors/integrate-drupal-commerce.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.
