daniel.walter Posted November 2, 2012 Share Posted November 2, 2012 Hi, I am trying to use the API to add a new order, everything is going fine until I try to override the product price with the $postfields['priceoverride'] option. I get no answer from the API when I am trying to post with the priceoverride. I didn't find anything in the documentation about what the format should be. Does someone have a clue about what format the price override should be ? thanks a lot 0 Quote Link to comment Share on other sites More sharing options...
daniel.walter Posted November 2, 2012 Author Share Posted November 2, 2012 I forgot to mention something important: if I use $postfields['priceoverride'] = "123.23"; the order is being added just fine BUT I get no answer from the API.. I am using the latest version (5.1.2 "stable") 0 Quote Link to comment Share on other sites More sharing options...
daniel.walter Posted November 2, 2012 Author Share Posted November 2, 2012 I found the issue. I enabled the error display in the configuration file by adding $display_errors=true; and then I was having this error message : Fatal error: Call to undefined function gzuncompress() in /home/blah/whmcs/includes/tcpdf.php on line 8339 zlib was missing in my php installaion. maybe it should be a check when it's doing the requirement checks in the initial configuration of whmcs.. 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.