ZEN Configuration
First enter the admin panel, navigate to Single Types -> crowdex
or rentinvesto
and find zenConfig property. There you should set your zen variables as following json:
{
"apiKey": "",
"apiUrl": "",
"ipnUrl": "",
"ipnSecret": "",
"terminalId": "",
"checkoutUrl": "",
"redirectUrl": "",
"terminalUuid": "",
"paywallSecret": ""
}
that are taken from https://my.zen.com (opens in a new tab) store settings:

example configuration of ZEN for crowdex on production:
{
"apiKey": "XYZ",
"apiUrl": "https://api.zen.com/",
"ipnUrl": "https://api.crowdex.pro/api/zen/webhook",
"ipnSecret": "XYZ",
"terminalId": "ZEN31175",
"checkoutUrl": "https://secure.zen.com/api/checkouts",
"redirectUrl": "https://app.crowdex.pro/topup/status",
"terminalUuid": "XYZ",
"paywallSecret": "XYZ"
}