1 Log into your SpicePay account.
2 From the main dashboard, click "Tools" and then scroll down to Sites and click "Add Site".
3 Complete the information shown. Default values can be left as they are, but note the following for certain fields:
Status (Callback) URL = This is the full url to the following file in your installation: control/callback.php.
Example:
https://www.example.com/coin/control/callback.php
Return URL = The return url should be to "https://www.example.com/coin/?thanks=yes". Adjust path so it poins to the correct url.
Secret Code = Your secret code. Used for callback verification. Make it long and complex.
Form Method = Should be set to POST.
IMPORTANT: After you have added a site, go back in via the edit button. A new option will appear called "Add GET parameter "orderId" to Return URL.". Make sure this box is checked.
4 Log in to your Maian Coin control panel and navigate to "Settings > Payment/Currency".
5 On the "General" tab, select "SpicePay" as the "BitCoin/Blockchain Gateway".
6 On the parameters tab, create the following parameters with the correct values:
spicepay-site-id = Your SpicePay Site ID as shown in the Sites list.
spicepay-secret-code = Your SpicePay secret code for callback verification.
Setup completed. You are now ready to receive/test payments using SpicePay.