1. Who uses uReseller?
There are four roles. You may only need the first two on day one.
| Role | What they do | Where they go |
|---|---|---|
| Platform admin | Creates resellers, sets wholesale prices, wallets, domains, payouts, and payment rules | Side menu → Resellers (Accounts, Wholesale plans, Domains, Reports, Activity, Payouts, Payment review, …) |
| Reseller | Sells retail plans to their customers, manages branding, wallet, and domains | Path /reseller (or their custom domain) → Dashboard, Plans, Wallet, Customers, … |
| Reseller's customer | Buys retail plans and sends messages on the reseller's brand | Reseller domain / customer portal |
| Dual-access user | Same login for customer portal and reseller workspace | Portal chooser or portal switcher after sign-in |
Tip: Money has two layers. The Wallet pays wholesale costs when messages send. Customer payments (plans) either stay on the platform (Platform collects) or go to the reseller's gateway (Reseller collects).
2. Installation
uReseller may already be bundled in Ultimate SMS, or you upload it as a plugin ZIP.
- Sign in as a user who can install plugins.
- Open Admin → Plugins.
- Confirm uReseller is active, or use Add Plugin and upload the ZIP.
- On install, choose whether to tick Install demo data (training only — leave unchecked on a public production site).
Warning: Demo accounts all use password 12345678. Never leave demo data on a public production site.
You also need:
- Ultimate SMS 3.17.0+, PHP 8.3+
- Scheduler cron every minute (see Settings and maintenance)
- Working platform mail
- At least one active sending server if resellers will send messages
Important: A normal plugin delete keeps reseller database tables. Delete permanently wipes reseller wallets, domains, plans, commissions, and related rows. Back up first.
3. Getting started (first hour)
- Open Admin → Resellers → Wholesale plans and create a plan with country rates.
- Open Accounts. Approve an application or create a reseller.
- Open the reseller → Pricing and routing. Assign the wholesale plan, providers, credit limit, and collection mode.
- Use Adjust wallet to add opening funds (with a clear reason).
- Optional: Login as reseller to confirm their workspace, then leave impersonation.
- If you take platform payments, open Platform webhooks and save secrets for each gateway you use.
Tip: Until providers and wallet available balance are set, customers may not be able to send even if retail checkout works.
4. Roles and permissions
Grant access in the Ultimate SMS role editor under category uReseller. Labels below match the English role editor.
| Permission label | What it allows |
|---|---|
| View resellers | Open Accounts and reseller profiles |
| Create / Edit reseller | Create or edit resellers; Apply page; Platform webhooks |
| Edit limits | Change max customers / domains / volume limits |
| Suspend / reactivate | Pause or restore a reseller |
| Delete reseller / Export resellers | Delete (when allowed) or export lists |
| Impersonate resellers | Login as reseller |
| Manage wallet | Adjust wallet and approve top-ups |
| View / Edit reseller pricing and routing | Open or change Pricing and routing |
| Manage wholesale plans | Wholesale plans and rates |
| Manage domains / Verify domain | Admin Domains list and verification |
| View payouts | Payouts and Payment review |
| View / Export reseller activity or reports | Activity and Reports |
| Review applications | Approve, reject, or ask for information |
| Apply to become a reseller | Customer permission for the apply page |
Warning: Several different permission keys reuse the label View resellers in the role editor. Grant by what the person needs to do, not by the label alone.
Dual access
On Accounts, set the default portal (ask / customer / reseller / last used). Dual users see a chooser and can switch portals.
5. Reseller applications
People apply from Become a reseller (/become-a-reseller or the customer menu). You review them on Admin → Resellers → Accounts → Applications.
- Open the Applications tab.
- Open an application and read the details.
- Optional: Send question if you need more information.
- Click Approve (creates the reseller account and sends email) or Reject with a reason.
You can also create a reseller manually with Create reseller. If the applicant is already a customer, approval links the same person; dual access may apply.
6. Managing resellers
Open Admin → Resellers → Accounts, then open a reseller. You will see three tabs:
- Account details
- Pricing and routing
- Activity
Suspend / reactivate
Use Suspend reseller or Reactivate. Suspended resellers and their customers are blocked from normal use. Data is not deleted.
Login as reseller
- Click Login as reseller and confirm (finish your own MFA first).
- Work under the impersonation banner.
- Leave impersonation to return to your admin account.
Tip: Wallet and gateway edits may be blocked while impersonating unless your host explicitly allows them. Admin accounts cannot be impersonated.
7. Pricing and routing
On the reseller, open Pricing and routing. The screen has four sections plus a wallet sidebar:
- 1. Pricing and spending limits — wholesale plan, credit limit, price per SMS unit, low-balance alert, Allow selling below wholesale cost
- 2. Customer payments — Platform collects or Reseller collects
- 3. Message delivery — assign providers (sending servers)
- 4. Sender names and phone numbers — lists plus Require platform approval for sender names and numbers
Sidebar: Reseller wallet, Adjust wallet, Wallet history, Pending top-ups.
Important: Saving pricing settings does not change the wallet. Wallet adjustments are saved separately.
If a documentation URL is configured, you will also see Open reseller guide.
8. Wholesale plans and rates
Open Admin → Resellers → Wholesale plans.
- Click New wholesale plan and save the plan.
- Open the rates grid. Add countries and set channel rates.
- Save rates. Fix any needs-attention items before leaving.
- Assign the plan on each reseller's Pricing and routing tab.
Worked example (demo numbers)
Demo wholesale plan: Demo Wholesale SMS. Demo retail plan Standard 10,000 costs $89.00 (8900 minor units). Northwind demo commission is 15% when the platform collects.
Retail sale: $89.00
Commission 15%: $89.00 × 0.15 = $13.35
If a retail price would undercut wholesale, the product blocks it unless you enable Allow selling below wholesale cost for that reseller.
9. Providers and message delivery
In 3. Message delivery, select the sending servers this reseller may use. Use Browse all providers to search and select.
If none are selected, the screen warns: No providers selected. Select at least one to enable message sending.
Warning: Empty routing means customer messages can fail even when the wallet has funds.
10. Wallet, credit, and top-ups
| Field | Meaning |
|---|---|
| Balance | Current wallet funds |
| Available to spend | Balance + credit limit |
| Credit limit | Extra spending room. 0 means spending beyond balance is blocked |
| Low-balance alert | Notifies the reseller when balance falls below the threshold |
Adjust the wallet
- Open Pricing and routing.
- Under Adjust wallet, choose Add funds or Remove funds.
- Enter the amount and a clear Reason for adjustment.
- Confirm. A row appears in Wallet history.
Demo arithmetic — Northwind Messaging
Opening credit (demo): 120000 minor = $1,200.00
Net balance (demo): 60000 minor = $600.00
Credit limit: 100000 minor = $1,000.00
Available to spend: 160000 minor = $1,600.00
Low-balance threshold: 2000 minor = $20.00
Crestline demo uses credit: balance −$200.00, limit $500.00 → available $300.00.
Online top-ups create platform invoices. Pending / offline top-ups wait for approval (for example Mark paid) before funds appear.
11. Customer payments and commission
| Mode | What happens |
|---|---|
| Platform collects | Customer pays your platform gateways. Commission is recorded for the reseller. You pay payouts later. |
| Reseller collects | Customer pays the reseller's gateway. You do not hold that money. The reseller must enable a gateway first. |
Payment states
pending → paid → (plan / units applied)
→ paid_unfulfilled (money in, fulfilment failed — use Payment review)
→ failed / expired
→ awaiting_reseller (offline proof waiting)
refunded / disputed → commission may move to review; no automatic clawback
Important: Refunds and disputes are not reversed automatically in the wallet or commission engine. Handle money and status manually. Held commission is excluded from payout.
Offline approval: under Platform collects, the platform admin approves. Under Reseller collects, the reseller approves in their Payments area.
12. Payment gateways
| Gateway | Default on new installs | Status |
|---|---|---|
| Stripe | On | Supported |
| Offline | On | Supported (manual proof) |
| PayPal | Off | Beta |
| Razorpay | Off | Beta |
| Paystack | Off | Beta |
| Flutterwave | Off | Beta |
Platform webhook secrets
- Open Admin → Resellers → Platform webhooks.
- Paste the webhook signing secret for each gateway you use.
- Copy the webhook URL into the provider dashboard.
- Optional: use the on-screen test action.
Platform webhook: POST /ureseller/payments/platform/{type}
Reseller webhook: POST /ureseller/payments/webhook/{key}?gateway={type}
Warning: Do not store uReseller platform webhook secrets only in core Payment Methods options — that form can wipe unknown keys. Use Platform webhooks.
Tip: When collection mode is Reseller collects, the reseller's provider receives customer money. Refunds, chargebacks, tax, and KYC stay with the reseller and their provider.
More technical detail: package file docs/PAYMENT_GATEWAYS.md.
13. Payouts
Open Admin → Resellers → Payouts. Default minimum payout is 1000 minor units ($10.00 USD) unless your host changes the setting.
- Open a payout request.
- Check amount, reseller, and any refund holds.
- Approve, mark paid, or reject using the actions on screen.
Use Payment review when a checkout is paid but not fulfilled (paid_unfulfilled) — retry or release as shown.
14. Domains and branding
Admin list: Admin → Resellers → Domains. Resellers manage hosts under Domains and look under Branding.
| Kind | DNS | When it works |
|---|---|---|
| Subdomain | Usually none (platform already answers the name) | Often active immediately |
| Custom domain | TXT challenge + CNAME or A | After verification and SSL |
DNS records in plain words
- TXT — a text proof. Add it on
_ureseller-challenge.{host}with the token shown in the UI. - CNAME — an alias pointing the hostname to your platform domain.
- A — points the hostname to a server IP from
URESELLER_A_TARGETS.
_ureseller-challenge.sms.partner-demo.test. TXT {token from screen}
sms.partner-demo.test. CNAME your-platform-host.example
Tip: DNS can take minutes to hours. Then use Check DNS now. Common mistakes: wrong TXT host name, Cloudflare proxied A records that do not match your targets, reserved labels (www, admin, api).
Branding fields include name, colors, logo, favicon, footer, and support links. Empty fields keep the platform default.
15. Sender names and numbers
On Pricing and routing you can pre-list Sender names (Sender IDs) and Phone numbers.
Enable Require platform approval for sender names and numbers when new sender details must be approved by you before use.
Resellers review customer requests under Sender requests (approve / reject / bulk).
16. Reports and Activity
Open Admin → Resellers → Reports and Activity. Each reseller also has an Activity tab.
- An event key (example
ureseller.checkout.paid) is the stored identifier; the on-screen label is for reading. - Company ID and Actor ID stay as recorded — names are not guessed later.
- Money stays in original integer minor units; values are not converted across currencies.
Investigate a payment
- Open Activity and find the checkout or payment event.
- Read the details panel (uid, amounts, actor).
- If status is
paid_unfulfilled, open Payment review and retry or release. - Confirm the customer plan/units and Wallet history.
In-app button Audit log guide opens a short version of these tips.
17. Settings and maintenance
- Apply page — copy, partnerships email, terms and privacy URLs
- Platform webhooks — secrets and test
- Default portal on Accounts — dual-access landing
Warning: There is no admin System check panel in this uReseller version. Use cron, queue, mail, and the checks in Troubleshooting instead.
Scheduler (cron)
Ultimate SMS needs this every minute:
* * * * * php /path/to/your/app/artisan schedule:run >/dev/null 2>&1
- cPanel: Cron Jobs → add the line with the real path to
artisan. - VPS:
crontab -efor the app user; same line.
uReseller scheduled tasks (when the plugin is enabled): reverify domains (hourly), retry webhooks (hourly), expire checkouts (every 15 minutes).
Tip: Keep a queue worker running if your host uses queues for exports, domain checks, and webhooks.
18. Demo data
Important: Demo data is for training only. Password for every demo account: 12345678.
| Reseller | Login | Shows |
|---|---|---|
| Northwind Messaging | [email protected] | Healthy primary demo |
| Blue Harbor SMS | [email protected] | Smaller wallet, fixed commission |
| Paused Relay | [email protected] | Suspended |
| Summit Connect | [email protected] | Low balance |
| Crestline Telecom | [email protected] | Using credit limit |
| Lumen Bulk SMS | [email protected] | Credit exhausted |
| Orbit Messaging | [email protected] | Reseller collects |
| Vertex Alerts | [email protected] | Dual access, below-cost allowed |
| Atlas Comms | [email protected] | Dual access |
| Newleaf Digital | [email protected] | New / empty |
php artisan ureseller:demo:seed
php artisan ureseller:demo:reset --force
php artisan ureseller:demo-fresh --force # development only
19. What resellers and customers see
Use this section when supporting partners. You are still the platform admin.
Reseller workspace
- Dashboard, Branding, Plans, Wallet, Customers (including CSV import)
- Domains, Email, Sender requests, Payments
- Reports, Activity, Developers (when API is enabled)
Their customers
Branded login on the reseller domain, retail plans and checkout, and normal Ultimate SMS messaging features. If the reseller is suspended, customers see a paused state and cannot send; their data remains.
20. Troubleshooting
| Symptom | Likely cause | What to check |
|---|---|---|
| Reseller cannot log in on their domain | Domain / SSL / DNS | Domain status, TXT/CNAME, SSL; try platform path /reseller |
| Payment succeeded but plan not active | paid_unfulfilled, wallet short, suspended | Payment review → retry/release; Activity; wallet available |
| Wallet looks wrong | Pending top-up; available vs balance | Wallet history; credit limit math |
| Domain stuck verifying | DNS mismatch; idle cron | Check DNS now; wait; scheduler |
| Customer cannot see a payment method | Collection mode / gateway / secrets | Pricing collection; reseller gateways; Platform webhooks |
| Emails not sending | Mail config | Platform mail; reseller Email test |
| Login as reseller not working | Permission / MFA / missing user | Impersonate permission; finish MFA |
| Webhook signature errors | Wrong secret or URL | Re-copy secret; hit the package webhook URL |
When contacting support, collect: plugin version 1.0.0, core version, reseller id/company, payment or checkout uid from Activity, approximate UTC time, and collection mode. Never send live secret keys.
21. Common questions
I cannot see the Resellers menu
Ask an administrator to activate uReseller and grant you the right permissions. Then log out and log back in.
What is the difference between Platform collects and Reseller collects?
Platform collects keeps customer payments on your platform and records commission. Reseller collects sends payments to the reseller's own gateway.
Why is Open reseller guide missing?
It only appears when a documentation URL is configured (URESELLER_SETUP_GUIDE_URL).
What does Available to spend mean?
Wallet balance plus credit limit.
Customer paid but has no plan
Check Payment review for paid_unfulfilled, then Activity for fulfilment errors. Confirm the wallet and that the reseller is not suspended.
Do refunds reverse commission automatically?
No. Handle refunds and disputes manually. Commission may move to review and stay out of payout until released.
Which gateways are beta?
PayPal, Razorpay, Paystack, and Flutterwave. Stripe and Offline are enabled by default on new installs.
Where do I put webhook secrets?
Admin → Resellers → Platform webhooks — not only in core Payment Methods options.
Does suspend delete data?
No. It blocks access. Data stays until you delete the reseller or permanently delete the plugin data.
Is there a System check panel?
Not in this version. Use cron, queue, mail tests, and Activity instead.
What password do demo accounts use?
12345678 for every demo login. Do not use demo data on a public production site.
Can I sell below wholesale cost?
Only if Allow selling below wholesale cost is enabled for that reseller.
Who approves offline payments?
Platform admin when Platform collects; the reseller when Reseller collects.
22. Quick glossary
| Term | Meaning |
|---|---|
| Wholesale plan | Your price list for a reseller (per country and channel). |
| Retail plan | A plan the reseller sells to their customers. |
| Wallet | Reseller prepaid balance used for wholesale costs. |
| Available to spend | Balance plus credit limit. |
| Credit limit | Extra spending room beyond the wallet. |
| Commission | Reseller share when Platform collects. |
| Payout | You paying accrued commission to the reseller. |
| Collection mode | Platform collects or Reseller collects. |
| Provider / routing | Sending servers assigned to the reseller. |
| Sender ID | Sender name (or number) shown on messages. |
| Impersonation | Login as reseller for support. |
| paid_unfulfilled | Payment recorded; plan/units not applied yet. |
| Minor units | Smallest currency unit (USD cents). Demo uses USD. |
| Webhook | Automatic notice from a payment provider to your server. |
Suggested everyday workflow
1. Wholesale plans → create plan and country rates
2. Accounts → approve application or create reseller
3. Pricing and routing → plan, providers, collection mode, credit limit
4. Adjust wallet → opening credit with a clear reason
5. Platform webhooks → secrets for gateways you use (if Platform collects)
6. Optional → Login as reseller to verify branding / plans
7. Day-to-day → Applications, Payment review, Payouts, Activity
8. Domains → help resellers publish TXT + CNAME/A when they go white-label
For training, seed demo data first, sign in as [email protected] / 12345678, then walk the reseller menus before using real partners.