RE: [MODULE] WHMCS
05-09-2016, 12:16 AM
(This post was last modified: 05-09-2016, 12:16 AM by Rynoxx.)
(05-09-2016, 12:09 AM)Leo. Wrote:(05-08-2016, 11:25 PM)Rynoxx Wrote:(05-08-2016, 10:32 PM)Leo. Wrote:Leo. Regarding the accepting pending orders in WHMCS, there's a default setting for that you'd need to use an addon for that (e.g. http://www.whmcs.com/appstore/2530/Auto-...rders.html DO NOTE THAT I HAVE NOT TRIED THIS ADDON AND DO NOT TAKE ANY RESPONSIBILITY OF WHAT HAPPENS WHEN YOU INSTALL IT)(05-08-2016, 10:07 PM)Rynoxx Wrote: Leo. runningEverything stoped working : but I'm sure I can handle it : Rynoxx thank u very much for your module and support I need to know 1 more thing how to make whmcs automatically accept pending orders without me accepting them from admin panel in whmcs?
Should doCode:zppy remove whmcs
zppy install whmcs
(05-08-2016, 10:54 PM)Leo. Wrote: Module isn't working it doesn't create user in sentora I completely f*ucked up my whmcs I don't know what to do I'm so sad want to go suicide :please help
Are you getting any errors? Or anything that would help me debug the problems?
Look what I found in logs of whmcs
Caught exception: Client error response [url] http://leoshost.com/api/whmcs [status code] 404 [reason phrase] Not Found
/var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
Forum Add-ons and Usage /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(109): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), 'complete')
MySupport Addon /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit('complete', Object(GuzzleHttp\Event\CompleteEvent))
Test of MySupport MOD /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#4 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/react/promise/src/FulfilledPromise.php(24): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
#5 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
Forum theme /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
Install Docs-ISPconfig /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(135): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
Advertising forum? /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(233): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#9 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(218): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
Addon Store Development /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(91): GuzzleHttp\Client->post('whmcs', Array)
Going live in two weeks time! /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
Important and Useful Links and Sites /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/sentora.php(323): Ballen\Senitor\Senitor->send()
Premium support subscription /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/modules/servers/sentora/sentora.php(389): sendSenitorRequest(Array, 'whmcs', 'GetPackageId', Array)
#14 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#15 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#16 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
More progress updates and 'trojan spike' joins the team! /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/includes/modulefunctions.php(0): ModuleCallFunction()
#18 /var/sentora/hostdata/zadmin/public_html/leoshost_com/billing/cart.php(0): ServerCreateAccount()
A few questions {main}
Leo. that does indeed seem to be the culprit here, make sure that your server configuration in WHMCS points towards a domain that only the sentora uses or the IP of the sentora server