MACscr Posted December 19, 2007 Share Posted December 19, 2007 I am using the WHMCS API to create some invoices, the problem is that the invoice is never sent to the client after its created. Am i missing something? 0 Quote Link to comment Share on other sites More sharing options...
domainworldaccess Posted December 20, 2007 Share Posted December 20, 2007 Automation settings? 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted December 23, 2007 Share Posted December 23, 2007 I seem to remember a setting for "send invoice" in the API variables, did you set that? 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted December 23, 2007 Author Share Posted December 23, 2007 nope, thats why i asked. I didnt see anything in the manual about setting that. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted December 24, 2007 Share Posted December 24, 2007 Sorry, I'm getting completely confused, obviously; I think I was thinking of add invoice payment which does have such a parameter. This seems to be a lack to me? Or am I missing something? 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted January 13, 2008 Author Share Posted January 13, 2008 Matt, this feature is pretty important. Its kind of dumb to create invoices with the api, but not send it to the client. Can you help us out here? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 15, 2008 WHMCS CEO Share Posted January 15, 2008 I'll add an option to the API for it in 3.6 Matt 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted January 15, 2008 Share Posted January 15, 2008 Cool, thanks Matt! 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 16, 2008 Share Posted January 16, 2008 Matt, Another small problem - there's no way to check that an invoice is paid before paying it. In terms of data integrity I would want to make sure people don't double-enter payments against invoices. One solution would be to add an argument to the addinvoicepayment API call something like "ifnotpaid" (ugly name, something nicer should be possible) - if true, the payment would only be added if invoice status was "Unpaid". It would also be nice to know if the amount paid had paid out an invoice fully as a return value from the call. Maybe this is beyond the call of what's needed in the API for now for most people in which case I can write some code, but would be interested to see what others think. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 4, 2008 Share Posted March 4, 2008 This is also being discussed in this thread: http://forum.whmcs.com/showthread.php?t=5807 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 8, 2008 Share Posted March 8, 2008 And just to follow up for the sake of anyone searching the forums, the feature is now in there; called "sendinvoice" and documented in the manual createinvoice API call 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.