Cloee Docs
Paymenter ExtensionsPterodactylSSO

Installation

Install PterodactylSSO in Paymenter and, for Pterodactyl 2.x, the panel-side SSO extension.

This guide installs the Paymenter extension and, for Pterodactyl 2.x, the panel-side paymenter-sso extension. Pterodactyl 1.x does not need the panel extension; it uses the WEMX endpoint shown at the end.

Before you begin

  • Paymenter is installed and you can open its admin area.
  • The Pterodactyl panel is reachable over HTTPS.
  • You can create API keys in the panel as a root administrator.
  • For Pterodactyl 2.x, the panel runs PHP 8.3 or newer.

1. Upload the Paymenter extension

Copy the PterodactylSSO folder from the release ZIP into:

/var/www/paymenter/extensions/Servers/PterodactylSSO

Make sure the web server user can read it, then clear the cache:

php artisan optimize:clear

2. Create the Paymenter server entry

In Paymenter admin, open Servers and click New Server (or edit the existing PterodactylSSO row).

PterodactylSSO server settings

FieldWhat to enter
NameA name you recognise, for example Pterodactyl 2.x.
ServerPterodactylSSO
Pterodactyl URLhttps://panel.example.com — no trailing slash.
Panel VersionPterodactyl 1.x or Pterodactyl 2.x.
Pterodactyl API KeyRoot administrator Application API key.
Admin API Key (2.x)Optional root Client API key for Admin API diagnostics.
Admin Client API KeyClient API key for console, power controls and live data.
SSO Secret KeyThe shared secret. On 2.x it must match the panel extension.
SSO Endpoint Path (1.x)/sso-wemx (ignored on 2.x).
SSO Login Path (2.x)Leave the default /extensions/paymenter-sso/login.

Click Test Connection before saving.

Use one secret per panel

Generate a long random secret and use it for exactly one panel. Reusing the same secret on several panels can let a link for one panel work on another.

3. Install the panel extension (Pterodactyl 2.x)

The panel extension is separate from Paymenter and is open source: Sachin-Cloee/pterodactyl-sso. On the panel host, from /var/www/pterodactyl, install and enable it in one line:

curl -fL https://github.com/Sachin-Cloee/pterodactyl-sso/releases/download/v1.1.0/pterodactyl-sso-1.1.0.pteroext -o /tmp/pterodactyl-sso-1.1.0.pteroext && php artisan p:extension:install /tmp/pterodactyl-sso-1.1.0.pteroext --enable

Then give the panel user ownership and remove the downloaded file:

chown -R www-data:www-data /var/www/pterodactyl/extensions/paymenter-sso
rm -f /tmp/pterodactyl-sso-1.1.0.pteroext

The command prints:

INFO  Installed Paymenter SSO (paymenter-sso) v1.1.0 - enabled.

Check it with:

php artisan p:extension:list | grep paymenter-sso
| paymenter-sso | Paymenter SSO | 1.1.0 | no | enabled | |

Running the same install command again updates the extension and keeps its settings. If the GitHub download is blocked, download the .pteroext file from the release page manually and run php artisan p:extension:install /path/to/pterodactyl-sso-1.1.0.pteroext --enable.

Open Admin → Extensions, find Paymenter SSO, and confirm it is enabled.

Paymenter SSO panel extension enabled

Open Settings, paste the same secret you entered in Paymenter, and save.

Paymenter SSO panel extension settings

Keep the default policy gates enabled:

  • Require HTTPS — rejects links that did not arrive over HTTPS.
  • Block root administrators — a billing session cannot become an administrator panel session.
  • Block two-factor accounts — SSO cannot bypass 2FA.

Pterodactyl 1.x uses WEMX instead

On Pterodactyl 1.x there is no bundled panel extension. Install the WEMX SSO addon on the panel, set its shared secret in Paymenter, and keep the SSO endpoint at /sso-wemx:

composer require cloee/sso-pterodactyl
php artisan vendor:publish --tag=sso-wemx
php artisan wemx:generate

4. Verify the installation

  1. Create a product and open its Server tab.
  2. Select the PterodactylSSO server, a location/node, and a tag (2.x) or nest (1.x), then choose an egg.
  3. Place a test order as a customer.
  4. On the service page, click Auto Login to Panel. Or open My Servers and click Open Panel.

The customer should land in the panel, signed in, and be sent to their server.

After changing extension files or settings, run php artisan optimize:clear. Product configuration is cached for up to 30 minutes; run php artisan cache:clear if changes do not appear immediately.

On this page