# ResellerClub SSL

https://docs.wisecp.com/en/resellerclub-ssl-module

Connect your ResellerClub reseller account to sell its SSL certificates with automatic ordering and margin-based prices.

## Accessing the Screen

Go to **Products → Product Group Modules**, open **All Modules** and click the **ResellerClub SSL** card. Address: `{admin}/modules/product?module=ResellerClubSSL`.

## Screen Overview

- **Settings**: Reseller credentials, the optional fixed customer, the test mode switch and the connection test.
- **Catalog**: Creates products from the ResellerClub SSL plans and keeps their prices current.
- **Import**: Lists the active certificates in your ResellerClub account and links one to a client as a service.

### Before You Start

Note the Reseller ID under Manage Profile in your ResellerClub account. Copy the key under Settings → API and whitelist the outgoing IP of your WISECP server there. Certificate orders are charged to your reseller funds. Test mode uses a separate demo reseller account with its own credentials.

## Settings Fields

- **Reseller ID**: Required. Your ResellerClub Reseller ID.
- **API Key**: Required. Saved encrypted and shown masked. Leave it blank to keep the saved key.
- **Fixed Customer ID (optional)**: Empty by default: each client gets their own ResellerClub customer, found or created from their profile. Enter an ID to place every SSL order under that one customer.
- **Fixed Customer Email (optional)**: An alternative to the ID: the customer is found by this email address. Ignored when a Customer ID is set.
- **Test Mode (Sandbox)**: On by default. Requests go to the ResellerClub demo environment. Turn it off for your live reseller account.

## Tasks

### Connecting the Account

1. On the **Settings** tab, enter **Reseller ID** and **API Key**. Fill in a fixed customer only if you need one. Set **Test Mode (Sandbox)** for that account.
2. Click **Test Connection**. It checks the values in the form against the selected environment, without saving them.
3. Click **Save Changes** below the form. A confirmation message appears.

### Importing the Catalog

1. Open the **Catalog** tab and enter **Profit Margin (%)**. The default is 30.
2. Click **Import Catalog**. The message counts the products created and those that already existed.
3. The table lists every plan with its cost and sale price. Rows not yet imported are marked **Not imported**.

The import creates the SSL Certificates category with DV, OV and EV subcategories. It also adds the order requirements, such as the CSR code and validation method. Running it again only adds what is missing.

### Keeping Prices Current

Click **Sync Prices** to reread the costs and reapply the margin to imported products. Turn on **Automatic Price Update** to repeat this every day through scheduled tasks.

### Importing an Existing Certificate

1. Open the **Import** tab. It requires at least one product that uses this module.
2. Find the certificate by **Order ID** or domain, then click **Import** on its row.
3. In the window, choose **Client**, **Product** and **Billing Cycle**, and check **Issued At** and **Expires At**.
4. Click **Import** at the bottom of the window. The certificate becomes a service of that client.

### Products and the Client Area

Each product sells one certificate, chosen as **ResellerClub Certificate** under **Module Configuration** on the product's **Automation** tab. Imported products have **Automatic Setup** on, so a paid order is placed at ResellerClub without approval.

ResellerClub certificates cover a single domain, a wildcard or EV; there are no SAN add-ons. In the client area, the customer can reissue the certificate, resend or change domain validation and download the certificate. On the service page, **Order ID** links the service to its order.

## Important Notes

> **Live Orders Are Billed**
> 
> With Test Mode off, every paid order buys a certificate from your reseller funds. Imported products are active and visible at once, so import into the live account when prices are ready.

> **Prices and Currency**
> 
> ResellerClub costs and sale prices are saved in USD and converted for customers with your exchange rates. If WISECP has no USD currency, the amounts are saved in your default currency without conversion.

> **Suspension**
> 
> Suspending a service changes its status in WISECP only. The certificate stays valid at ResellerClub.

## Required Permissions

Requires **PRODUCTS_API** to open and configure the module.

## Related Articles

- [Product](https://docs.wisecp.com/en/product-modules)
- [Product Automation](https://docs.wisecp.com/en/product-automation)
- [Currencies](https://docs.wisecp.com/en/currencies)
- [ResellerClub](https://docs.wisecp.com/en/resellerclub-module)
