Vander Host Posted November 21, 2020 Share Posted November 21, 2020 I have a very simple implementation of the WHMCS AddOrder API. I'm simply to add a product (ID #1) which is shared hosting and everything else is pretty much on default. But order data doesn't pull through and is blank. The data I'm sending is this: array ( 'clientid' => 1, 'paymentmethod' => 'banktransfer', 'pid' => array ( 0 => 1, ), 'domain' => array ( 0 => 'siliconebands.co.za', ), 'priceoverride' => '138', 'noinvoice' => true, 'noemail' => true, ) The result I'm getting back is this: array ( 'result' => 'success', 'orderid' => 20, 'productids' => '', 'serviceids' => '', 'addonids' => '', 'domainids' => '', ) But have a look at this screenshot. There is no data in the order. It's empty. It's blank. Where is the product? And the price? 0 Quote Link to comment Share on other sites More sharing options...
Alan Santos Posted December 23, 2021 Share Posted December 23, 2021 Hello bud, check if your item does not have the "control stock" option checked. this option is kind of hidden in General Settings -> Products -> Edit Product -> End of the page 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.