SELLER PORTAL — host this on YOUR OWN server/domain, never on a client's.

WHAT THIS IS
When a client's licence expires (or is wrong-domain / not yet activated),
their website automatically shows a "Renew Subscription" button that links
here: renew.php?domain=...&email=...&reason=...

FLOW
1. Client lands on renew.php -> sees your 1/2/5 year prices and your payment
   instructions (bKash/bank/etc, edit in admin.php -> Settings) -> submits
   their Transaction ID.
2. You get notified by email and see it in admin.php -> Orders.
3. You verify the payment really came in, then click "Confirm & Send Key".
   This automatically generates the licence key (locked to their domain,
   for the plan they paid for) AND emails it to them, with instructions to
   paste it into their Admin Panel -> Licence. Their site reactivates the
   moment they paste it — no waiting, no manual file editing.
4. "Issue Key Manually" lets you generate/send a key any time without an
   order on file (e.g. first activation, phone/WhatsApp payment).

SETUP
1. Upload this folder to your own hosting (e.g. yoursite.com/renew/).
2. Open admin.php once -> log in with the default password "changeme123"
   -> go to Settings -> set your SMTP details, prices, payment instructions,
   and change the portal password immediately.
3. In every client project you sell, open assets/base.inc.php and set:
     define('_TKPAY','https://yoursite.com/renew/renew.php');
   and make sure _TKS (the secret) is the SAME across this portal,
   generate.php, and every client project you ship.

SECURITY
- Put this behind HTTPS.
- Change the default password before putting it online.
- This portal's own base.inc.php must be kept private just like the keygen —
  don't expose this folder's source to anyone.
