Cryptain for WHMCS 1.1.0
========================

1. Upload the "modules" folder into your WHMCS root folder (it merges with the existing one).
   You get:
     modules/gateways/cryptain.php
     modules/gateways/cryptain/Client.php
     modules/gateways/callback/cryptain.php
2. WHMCS admin → Configuration → System Settings → Payment Gateways → All Payment Gateways → "Cryptain".
3. Enter the Cryptain URL, public key, secret key and webhook secret (Cryptain dashboard → Stores).
4. In Cryptain, set the store Webhook URL to:
     https://YOUR-WHMCS-DOMAIN/modules/gateways/callback/cryptain.php
5. Make sure the store's price currencies include your WHMCS currencies (USD, EUR, INR…).

How it works: the client clicks "Pay with crypto" on the invoice, pays on the Cryptain checkout,
and the invoice is marked paid automatically when Cryptain sends the signed webhook. The module
re-checks every payment with the Cryptain API before adding it, and ignores duplicates.
