-
Upload the
extensions/Servers/Calagopus/directory to your Paymenter installation at:/path/to/paymenter/extensions/Servers/Calagopus/
-
In Paymenter Admin, go to Servers → New server and create one using "Calagopus".
-
Configure the extension with your panel URL and API key.
-
Create a product and select "Calagopus" as the server extension, then configure the product settings.
OAuth linking allows your users to log into the Calagopus panel using their Paymenter account, providing a seamless experience. To set this up:
-
Download the Paymenter OAuth Provider template from this repository.
-
In your Calagopus panel, go to Admin → OAuth Providers → Import to import the template.
-
After importing, click the OAuth Provider and edit all the URLs to point to your Paymenter installation.
-
Now, save the provider and copy the Redirect URL.
-
In Paymenter Admin, go to Oauth Clients → New oauth client and paste the Redirect URL into the "Redirect" field. Fill out the name and save the client.
-
Copy the Client ID and Secret from the OAuth client you just created in Paymenter.
-
In Calagopus, edit the OAuth Provider you imported and paste the Client ID and Secret into the corresponding fields. Save the provider.
-
Copy the UUID of the OAuth Provider in Calagopus and paste it into the "OAuth Provider UUID" field in your Paymenter Calagopus server configuration.
-
Save the server configuration in Paymenter.
-
Profit, now when a new server is created for a user, Paymenter will automatically link their account to Calagopus using the OAuth provider, allowing them to log in to the panel with their Paymenter credentials.