Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Tutorial 1-Stream: WHMCS add-on Guide đź› 

1-Stream

Basic Member
Basic Member
Advertiser
Joined
Oct 14, 2021
Messages
59
Reaction score
25
Points
29
Location
Europe
Website
1-stream.com
Integrating your 1-Stream panel with WHMCS doesn't have to be a headache. If you’re looking to automate your streaming business, this guide will walk you through the setup of the 1-Stream Billing Add-on so you can stop manually creating lines and start scaling.


Step 1: Getting the Files Ready

First, you need the software installed on your server.
  1. Download: Grab the plugin from your client area.
  2. Upload: Use your preferred method (FTP, SCP, or WGET) to move the .tar.gz file into your WHMCS root directory.
  3. The "Magic" Command: Once the file whmcs_onestream_billing_v1.1.1.tar.gz is sitting in your directory, run this command to extract it and move the folders to the right spots automatically:
Bash:

Code:
tar -C / -xvf whmcs_onestream_billing_v1.1.1.tar.gz &amp;&amp; mv -t /var/www/html/whmcs/modules/servers /OnestreamResell/modules/servers/* &amp;&amp; mv -t /var/www/html/whmcs/modules/addons /OnestreamResell/modules/addons/*<br>

Quick Tip: Double-check your path. If your WHMCS isn't in /var/www/html/whmcs/, make sure to update the command above to match your actual folder structure.

Step 2: Activation in WHMCS

Now that the files are where they belong, let's turn them on.
  • Find it: Head over to WHMCS > Apps and Integration > Browse > Other.
  • Search: Type "1-stream" in the search bar and hit Activate.
  • Configure: Go to System Settings > Add-on Modules > 1-stream reseller add-on and click Configure.
Inside the configuration screen, you’ll need to add your WHMCS license key (found in your client area with us). You’ll also need your 1-stream panel URL and the two API tokens. If you haven't made those tokens yet, check our specific tutorial on Generating API Access Tokens.



Step 3: Setting Up Your Products

This is where the automation happens. You have two main ways to sell:

1. 1-Stream Lines (For Standard Customers)

Use this for creating or extending single lines or MAC-based accounts.
  • Custom Fields: Make sure you set up a custom field for Username or MAC.
  • Extra Connections: Want to charge more for multiple streams? Use a Config Option named exactly [COLOR=rgb(247, 218, 100)]Connections[/COLOR] or [COLOR=rgb(247, 218, 100)]Extra Connections[/COLOR].

2. 1-Stream Users (For Resellers)

Use this if you are selling credits or creating reseller accounts.
  • Custom Fields: Set up a custom field named Reseller so the system knows which account to credit.

Step 4: The "Welcome" Email

No one likes waiting for their login details. You can automate your welcome emails by inserting these variables into your WHMCS email templates:
FieldVariable
Domain{$service_domain}
Username{$service_username}
Password{$service_password}
MAC Address{$client_custom_field_MAC}
Reseller Name[COLOR=rgb(255, 255, 255)]{$client_custom_field_Reseller}[/COLOR]
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top