> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/connectors/connectors/integrate-drupal-commerce.md).

# 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="https://2959648234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYx58RsyQmIsfLoMCqr5W%2Fuploads%2FOibIea2A1XtPSftomOrY%2Fimage.png?alt=media&amp;token=ca165e08-3dea-4d0d-8db4-9f6f8f6db996" 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="https://2959648234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYx58RsyQmIsfLoMCqr5W%2Fuploads%2FYaiXzIn4CGqTfc5ifrEY%2Fimage.png?alt=media&amp;token=af399360-14e5-4182-8ae2-a234481714c6" 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="https://2959648234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYx58RsyQmIsfLoMCqr5W%2Fuploads%2FASVaLPA8lNvqXeRUI0TY%2Fimage.png?alt=media&amp;token=66e99a4e-205c-4500-86ff-554b4d21a48d" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.2checkout.com/connectors/connectors/integrate-drupal-commerce.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
