Jump to content

format of priceoverride in $postfields when using API


Recommended Posts

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

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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