# WHMCS

### [⬇️ Download WHCMS Plugin](https://thedex.cloud/cms/thedex-whmcs-plugin.zip)

## Installing Thedex cryptocurrency payment gateway for WHMCS

### Installing the plugin:

1. Unzip the downloaded [archive ](https://thedex.cloud/cms/thedex-whmcs-plugin.zip)to your computer or hosting.
2. Move all files and subfolders from `thedex-whmcs-plugin` into: *`WHMCS` → `modules` → `gateways`*.

### Setting up Thedex Payment Gateway for WHMCS

1. Log in to your [Thedex](https://thedex.cloud/) account and create a Merchant for your business, then generate an API key. If you don't have an account, sign up for one.
2. In the upper right corner, find the wrench icon.
3. Hover over it and select **System Settings** in the pop-up menu, and then **Apps & Integrations**.\
   \\

   <figure><img src="https://1804780039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLiN67ZPOql8MYlVMGhIz%2Fuploads%2FokCyF6d8kTiik8JNshSI%2Fwhmcs_1.png?alt=media&#x26;token=6ee9b514-b597-48d2-a43b-06e6bc106afe" alt=""><figcaption></figcaption></figure>
4. Go to the **Search** tab and type **Thedex** in the search.\
   \\

   <figure><img src="https://1804780039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLiN67ZPOql8MYlVMGhIz%2Fuploads%2FDNMQP7a54r6R8eLrEelp%2Fwhmcs_2.png?alt=media&#x26;token=32b77243-f8a7-468e-ba06-8aa5a4ebf4c4" alt=""><figcaption></figcaption></figure>
5. Enter the Merchant ID and API key data in the appropriate fields on the Thedex module settings page for WHMCS.\ <br>

   <figure><img src="https://1804780039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLiN67ZPOql8MYlVMGhIz%2Fuploads%2F1mqua19Dti272bTbQ5gJ%2Fwhmcs_3.png?alt=media&#x26;token=a8f7e459-a818-468e-bb87-1dc88358a026" alt=""><figcaption></figcaption></figure>
6. Thedex payment gateway is ready to use.


---

# 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.thedex.cloud/e-commerce-plugins/whmcs.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.
