# Integrate VirtueMart

## Availability <a href="#availability" id="availability"></a>

VirtueMart integration is available only for 2Checkout accounts that handle their own tax and invoice management (2Sell and 2Subscribe accounts).&#x20;

## VirtueMart Settings <a href="#virtuemart-settings" id="virtuemart-settings"></a>

1. Download or clone extension at <https://github.com/craigchristenson/VirtueMart-2Checkout>
2. In your Joomla admin, under **Extensions** → **Extension Manager**
3. Upload tco.zip under **Upload Package File**
4. Under **Components** → **Shop** → **VirtueMart** → **Payment Methods**, click **New**
5. Select **2Checkout** as the **Payment Method**
6. Enter a **Payment Method Name**
7. Select **Yes for Published**
8. Enter a **Payment Description** (Example: Credit Card - Visa, MasterCard, American Express, Discover, JCB, and PayPal)
9. Click **Configuration**
10. Enter your **2Checkout Seller ID** (This is your Merchant code and can be found [here](https://secure.2checkout.com/cpanel/webhooks_api.php))
11. Enter your **2Checkout Buy-Link Secret Word** (This is your INS secret word and can be found [here](https://secure.2checkout.com/cpanel/webhooks_api.php))
12. Set **Sandbox** to Yes for **sandbox mode**. For **live sales** keep Sandbox at No
13. Set **Inline Checkout** to Yes to use Inline Checkout. For **hosted checkout** keep Inline Checkout at No
14. *(Optional)* Select your preferred **logo** if you have one (VirtueMart Images are stored in /images/stories/virtuemart/payment)
15. Click S**ave**

## 2Checkout Settings <a href="#id-2checkout-settings" id="id-2checkout-settings"></a>

1. Sign in to your [2Checkout account](https://secure.2checkout.com/cpanel)
2. Navigate to the **Integrations** section → **Webhooks & API**, and go to the **Redirect URL** section&#x20;
3. Under **Return method**, select **Header Redirect**
4. Click **Update** to save your settings

## About VirtueMart <a href="#about-virtuemart" id="about-virtuemart"></a>

VirtueMart is an Open Source E-Commerce solution (a Component or Plug-in) for the Joomla! Content Management System. It can be run as a Shopping Cart, or in Catalog mode. You need to install Joomla! first (as the "Framework"), and then install & configure [VirtueMart](https://virtuemart.net/index.php).


---

# 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-virtuemart.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.
