ADNYS Pay — connect an app (GetFIT, Beats, EduLogiTech...)
==========================================================

1. Upload the "adnys" folder into the app's public_html
   -> https://getfit.adnys.com/adnys/

2. Edit adnys/config.php
   - paste this app's key, secret, webhook_secret (from the installer keys file)
   - set product ('getfit', 'beats', 'edulogitech' or 'adnys') and site address

3. Edit adnys/hooks.php  (the ONLY code file you change)
   - your app's database login
   - adnys_get_order(): read the order from your orders table
   - adnys_mark_paid(): activate the order

4. Pay button in your app:
   <a href="/adnys/pay.php?order_id=ORDER_NUMBER">Pay now</a>

5. ADNYS Pay admin > Products & API > (this app):
   Allowed hosts : getfit.adnys.com
   Return URL    : https://getfit.adnys.com/adnys/success.php
   Cancel URL    : https://getfit.adnys.com/adnys/cancel.php
   Webhook URL   : https://getfit.adnys.com/adnys/webhook.php
   Save.

6. Test with a small real payment (AED 1). The order must turn "paid" in your app
   and show PAID in ADNYS Pay admin.

Security check: https://getfit.adnys.com/adnys/config.php must show 403 Forbidden.

Same kit for every app — only config.php and hooks.php change.
