← All guides
MMI DistributorsBeginner

How to Turn On and Connect a Distributor in MMI Distributors

Shows how to switch XChange, SkuPort or Plugivery on in MMI Distributors, enter the credentials each one gave you, and confirm the connection works.

What this covers

MMI Distributors buys software licenses from three distributors: XChange, SkuPort and Plugivery. Each one has its own on/off switch and its own account credentials. This article walks through switching a distributor on, finding its Connection settings, entering the credentials it gave you, and confirming the plugin can reach it.

Before you start

  • You need your own reseller account with API access at the distributor you’re turning on. The plugin does not supply an account for you.
  • Switching a distributor on or off, and saving its credentials, needs administrator-level access. A shop manager can view these screens but the Save controls are disabled for them.
  • XChange is on by default. SkuPort and Plugivery are both marked Beta and are off by default, so you’ll need to turn them on yourself before you can connect them.

Step 1: Turn the distributor on

  1. In the WordPress sidebar, go to MannMade → Distributors.
  2. On the page that opens, make sure the distributor switcher near the top is set to All, then click the Settings tab.
  3. You’ll see a table listing XChange, SkuPort and Plugivery, each with a description of what it does, a Status column, and an On toggle switch.
  4. Switch the toggle on for the distributor you want to use.
  5. Click Save.

When this works, the page reloads with a “Distributors saved.” notice, and the Status column for that distributor changes to On. The distributor’s name also becomes a link, and it appears as its own entry next to All in the distributor switcher.

Turning a distributor off again does not lose anything: its settings, orders and purchase history stay exactly as they were. Switching it off just stops its background jobs and removes it from the fulfillment queue until you switch it back on.

Step 2: Open the distributor’s own Settings tab

  1. On the same Distributors screen, use the switcher at the top — All · XChange · SkuPort · Plugivery — and click the distributor you just turned on.
  2. With that distributor selected, click its Settings tab.
  3. The first section on this tab is Connection: whether the plugin can reach the distributor, and the credentials it uses.

Step 3: Enter the credentials and test the connection

What you enter in Connection depends on which distributor you’re setting up:

XChange

The Connection section has fields for the credentials and endpoints XChange gave you: XChange Token Key, XChange API Key, XChange Token URL, XChange API URL and XChange Assets URL (the three URL fields already carry XChange’s standard addresses, so you usually only need to fill in the two keys). Below that, under “Web-portal login (manual Full Sync only)”, there are two more fields — Reseller Login ID and Reseller Login Password — used only by the “Full Sync…” button on the Orders tab, not by normal order lookups.

Fill in the fields you have, then click Save settings. At the top of the page, next to the Test/Live switch, click Test Connection.

SkuPort

SkuPort’s Connection section does not have credential fields on the page itself. Instead it tells you the remote user, password and API address are kept in the shared “Credentials & API Keys” vault, under the field names SkuPort uses there: skuport-remote-username, skuport-remote-password and skuport-api-url. Enter the credentials SkuPort gave you on that screen, under those field names.

Back on the Distributors page, with SkuPort selected, click Test Connection at the top of the page.

Plugivery

Plugivery works the same way as SkuPort: no credential fields on the Settings tab. The Connection section tells you the Catalog and Orders API tokens are kept in the same shared “Credentials & API Keys” vault, under the field names plugivery-api-token and plugivery-orders-api-token. Enter the tokens Plugivery gave you there. Plugivery also only answers requests from your server’s IP address, so make sure that’s registered with Plugivery too.

Back on the Distributors page, with Plugivery selected, click Check Orders API at the top of the page (this check is free and doesn’t count against your read quota).

What you should see when it worked

  • XChange: the header badge turns green and reads “Connected”, and the Connection section on the Settings tab shows “Connected — token retrieved successfully.”
  • SkuPort: the header badge turns green and reads “Connected”, and the Connection section shows a message like “Connected — N products available.”
  • Plugivery: the header badge reads “Purchasing allowed” if Plugivery has enabled purchases on your account, or “Purchasing off at Plugivery” if it hasn’t — either one means the connection itself is working. A red “Orders API not reachable” badge means it isn’t.

If something goes wrong

Message you see What it means and what to do
Credentials are not fully configured. XChange’s Test Connection ran before the Token Key and API Key fields were both filled in and saved. Enter both, click Save settings, then Test Connection again.
SkuPort credentials are not configured (Credentials & API Keys vault). The username, password or API address isn’t saved in the vault yet (or one is missing). Re-check the three field names on that screen and save them again.
No Plugivery Orders API token in the Credentials & API Keys vault (plugivery-orders-api-token). The Orders API token field is empty in the vault. Enter the token Plugivery gave you under that exact field name.
Not saved (must be a public https:// URL): ... — previous values kept. Appears on XChange’s Settings tab if one of the URL fields (Token URL, API URL or Assets URL) was changed to something other than a public https:// address. The save is rejected and the previous value is kept; re-enter a valid https:// URL.
Only administrators can change XChange settings. / Only an administrator can switch distributors on or off. Your account doesn’t have the access level these forms need. Ask a site administrator to save the change, or log in as one.
An error message in place of “Connected”, quoting a network or authentication failure Test Connection (or Check Orders API) reached the distributor but it refused the request — usually wrong credentials, or an IP address the distributor hasn’t allowed. Double-check what you entered against what the distributor’s own portal shows, and try again.
A notice saying MMI Distributors isn’t running a module because its old plugin is still active The distributor’s previous standalone plugin is still active on your site and is taking priority. Deactivate that old plugin on the Plugins screen, then this module will load.

Still have a question?

Tell us what you were trying to do and we will answer it, or add it to this guide.

Contact us