[MODULE] WHMCS
RE: [MODULE] WHMCS
(06-11-2016, 11:40 PM)Rynoxx Wrote:
(06-11-2016, 11:36 PM)Cantalupo Wrote: I made a test again on the virtual server, and it worked.

Nice

Thanks ! Blush
 By: Cantalupo
Reply
RE: [MODULE] WHMCS
hi Rynoxx i want creat new hosting accound its tell me : Error: Account couldn't be created, the API Request failed.

please help me this log module

PHP Code:
Array
(
 
   [resellerid] => 1
    
[packageid] => Pack-Dyali
    
[groupid] => 2
    
[username] => devartma
    
[fullname] => sabir laguedem
    
[email] => iv0@hotmail.ca
    
[address] => 
 
   [postcode] => 
 
   [password] => T57dgPr68m
    
[phone] => 
 
   [sendmail] => 0
    
[emailsubject] => 0
    
[emailbody] => 0


PHP Code:
Caught exceptionUnable to parse response body into XMLString could not be parsed as XML

#0 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(57): GuzzleHttp\Message\Response->xml()
#1 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#2 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
#3 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#4 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(238): Ballen\Senitor\Senitor->send()
#5 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(349): sendSenitorRequest(Array, 'whmcs234', 'CreateClient', Array)
#6 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#7 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#8 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#9 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): ModuleCallFunction()
#10 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/orderfunctions.php(0): ServerCreateAccount()
#11 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/admin/orders.php(0): acceptOrder()
#12 {main}
Debug string from Senitor
 

Reply
RE: [MODULE] WHMCS
(07-24-2016, 09:56 AM)sabir007 Wrote: hi Rynoxx i want creat new hosting accound its tell me : Error: Account couldn't be created, the API Request failed.

please help me this log module

PHP Code:
Array
(
 
   [resellerid] => 1
    
[packageid] => Pack-Dyali
    
[groupid] => 2
    
[username] => devartma
    
[fullname] => sabir laguedem
    
[email] => iv0@hotmail.ca
    
[address] => 
 
   [postcode] => 
 
   [password] => T57dgPr68m
    
[phone] => 
 
   [sendmail] => 0
    
[emailsubject] => 0
    
[emailbody] => 0


PHP Code:
Caught exceptionUnable to parse response body into XMLString could not be parsed as XML

#0 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(57): GuzzleHttp\Message\Response->xml()
#1 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#2 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
#3 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#4 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(238): Ballen\Senitor\Senitor->send()
#5 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(349): sendSenitorRequest(Array, 'whmcs234', 'CreateClient', Array)
#6 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#7 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#8 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#9 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): ModuleCallFunction()
#10 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/orderfunctions.php(0): ServerCreateAccount()
#11 /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/admin/orders.php(0): acceptOrder()
#12 {main}
Debug string from Senitor
 

Make sure you've entered the accesshash in WHMCS correctly, it should be in the following format:
Code:
NUMBER,APIKEY
where NUMBER is the userid of the reseller/admin in Sentora (enter 1 for zadmin), and APIKEY is the api key found in the WHMCS module in the Sentora panel. Also, which version of PHP are you running?
Reply
RE: [MODULE] WHMCS
Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad
 By: Cantalupo
Reply
RE: [MODULE] WHMCS
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here
Reply
RE: [MODULE] WHMCS
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
 By: Cantalupo
Reply
RE: [MODULE] WHMCS
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile
Reply
RE: [MODULE] WHMCS
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
 By: Cantalupo
Reply
RE: [MODULE] WHMCS
(08-05-2016, 09:46 PM)Cantalupo Wrote:
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
@[Cantalupo] yeah, it should suspend the account when payment hasn't been made, it has the suspension functions required to do that. And the service upgrade is handled by the ChangePackage function Smile
Reply
RE: [MODULE] WHMCS
(08-05-2016, 10:30 PM)Rynoxx Wrote:
(08-05-2016, 09:46 PM)Cantalupo Wrote:
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote: @[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
@[Cantalupo] yeah, it should suspend the account when payment hasn't been made, it has the suspension functions required to do that. And the service upgrade is handled by the ChangePackage function Smile

Amazing.
And the question of upgrade and downgrade?
^^
 By: Cantalupo
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 332 ,357 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 51 ,246 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 58 ,499 06-04-2021, 11:47 AM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 1 Guest(s)