Jump to content
Sign in to follow this  
sathish

whmcs GetProducts api not working

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] => )

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • 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