Jump to content

whmcs GetProducts api not working


sathish

Recommended Posts

I retrieve configured products.

 

function create_forum_account($vars) {
 
 
$command = 'GetProducts';
$postData = array(
'pid' => 34,
);
 
 
$results = localAPI($command, $postData,''ADMIN_USERNAME');
print_r($results);
}
 
add_hook("ClientAreaPage",1,"create_forum_account");
 
Result:
------------------
Array ( [result] => success [totalresults] => )
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated