Jump to content

acceptQuote API function not working


Recommended Posts

is anyone finding the acceptQuote API function does not working when providing the correct arguments?

All other functions work fine for us, but this one.

 

ArgumentCountError: Too few arguments to function convertQuotetoInvoice(), 1 passed in /whmcs/includes/api/acceptquote.php on line 0 and exactly 7 expected in /whmcs/includes/quotefunctions.php:0

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Hello,

Thanks for your post!

I was not able to reproduce this error in WHMCS version 7.7.1, using PHP 7.3 (Latest version and WHMCS and PHP).

I tested using the sample code made available here: https://developers.whmcs.com/api-reference/acceptquote/

I would advise opening up a support ticket with us so we can take a closer look at your installation and environment to assist you with this.

Thanks!

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