Deshi Pay - SMM Panel add-funds integration v1.0.0 (plain PHP)
=============================================================

1. Upload the "deshipay" folder to your SMM panel root (next to index.php):
     https://your-smm-panel.com/deshipay/pay.php

2. phpMyAdmin > your panel database > SQL > paste deshipay/install.sql > Go

3. Edit deshipay/config.php
     gateway_url, api_key, site_url, DB login,
     users_table / user_id_column / balance_column,
     session_user_key (the $_SESSION key where your panel stores the logged-in user id)

4. Paste deshipay/add-funds-form.html into your panel's "Add Funds" page.

5. Deshi Pay admin > Brands > API Setting: enable "Create Payment" and "Verify Payment".

6. Test with a small amount. The balance is added once, even if the webhook is called twice.

Laravel based panel? Use the Laravel files inside deshipay-sdk.zip instead.
