(04-16-2016, 03:04 AM)Rynoxx Wrote:(04-16-2016, 02:34 AM)twente Wrote: Hi,
I tried to install your WHMCS module for Sentora but it won't seem to like each other..
Whenever I try to do anything (create etc.) it give me this error:
Code:Caught exception: Server API key validation failed.
/var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
Forum Add-ons and Usage /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
MySupport Addon /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
Test of MySupport MOD /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/sentora.php(207): Ballen\Senitor\Senitor->send()
#4 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/sentora.php(311): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array)
#5 /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
Forum theme /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
Install Docs-ISPconfig /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
Advertising forum? /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/modulefunctions.php(0): ModuleCallFunction()
#9 /var/sentora/hostdata/zadmin/public_html/twente_tech/admin/clientsservices.php(0): ServerCreateAccount()
Addon Store Development {main}
1
Sentora version: Latest
WHMCS module: Freshly grabbed from git so latest
Any ideas?
Thanks in advance.
//edit: Btw, got the API key from ?module=whmcs
//And installed it at WHMCS under "Access Hash (Instead of password for cPanel servers)"
@[twente] make sure that you also have the userid followed by a comma befpre the API key configured as the access hash
Thanks a lot, that did the trick! Thanks for your development.