Cryptain for XenForo 2
======================

1. Upload everything inside the "upload" folder to your forum's root folder.
2. Admin control panel → Add-ons → find "Cryptain crypto payments" → Install.
3. Setup → Payment profiles → Add payment profile → Cryptain.
   Enter your Cryptain address, public key, secret key and webhook secret.
4. In Cryptain, set the store's Webhook URL to:
   https://YOUR-FORUM/payment_callback.php?_xfProvider=cryptain
5. Users → User upgrades: tick the Cryptain profile on the upgrades you sell.

Each webhook is verified with your webhook secret and the invoice is read back from the
Cryptain API before an upgrade is applied. Test with Cryptain's testnet mode first.
