Cryptain for Blesta 4.x / 5.x
1. Upload the "components" folder into your Blesta root (it adds components/gateways/nonmerchant/cryptain).
2. Settings → Company → Payment Gateways → Available → Cryptain → Install.
3. Enter your Cryptain URL, public key, secret key and webhook secret, and tick the currencies you accept.
4. In Cryptain (Dashboard → Stores → your store) set the Webhook URL to the address shown on the gateway settings page
   (https://YOUR-BLESTA/callback/gw/COMPANY_ID/cryptain/).
Invoices are marked paid automatically when the crypto payment is confirmed.
