ASMHosting Posted October 1, 2007 Share Posted October 1, 2007 Hi All, I am just in the process of finishing an external colocation/dedicated server bandwidth tracking system (based on RTG). What I'm looking at doing for billing in making it generate an invoice for the customer on the 1st of each month using the API. All the maths for the bandwidth etc is done automaticly using the above system and a cron job so nothing for WHMCS to do there... What I need to know however is that if you create the invoice using the API does it still send out the "Invoice Generated" email and reminders? 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 3, 2008 Share Posted March 3, 2008 I would like an answer to this as well, as I'm doing mostly the same thing. Anyone? 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 4, 2008 Share Posted March 4, 2008 It creates the invoice, but last time I looked (3.5.1) Matt hadn't added the parameter to cause the new invoice to be sent. I'd check the doco though as he may have added it in 3.6.0. A group of us (involving RPH?) had this discussion in another thread a while ago... 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 4, 2008 Share Posted March 4, 2008 The other thread was http://forum.whmcs.com/showthread.php?t=7472 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 4, 2008 Share Posted March 4, 2008 I'd check the doco though as he may have added it in 3.6.0. As of this writing, I'm not seeing anything in the docs mentioning sending the invoice. http://v3manual.whmcs.com/display.php?id=137 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted March 5, 2008 Share Posted March 5, 2008 Looks like it didn't make it into 3.6.0. We could beseech him for it to make it into 3.6.1. If there's a non-API call to do this, that could be used as a workaround (with a little thought) for now, but that needs Matt's input ... 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 7, 2008 Share Posted March 7, 2008 Acccording to the dev tracker, it was put into 3.6.0 Beta. http://dev.whmcs.com/index.php?version=13 207 New Feature API Invoice Creation Send Email Option Implemented I'm guessing that it hasn't been documented yet, which is kind of a pain, as this is one major feature that I have to make sure works before I can make a purchase. I'm really liking what I've seen so far, but I need to make sure that it's going to do what I need. 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted March 7, 2008 Share Posted March 7, 2008 If someone puts in a ticket and gets an answer from Matt, then please post it here so that it is available to the community. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted March 7, 2008 WHMCS CEO Share Posted March 7, 2008 It was updated in the manual when released - in the attributes and code sample "sendinvoice" is the variable - set to true if you want to send it, blank if not. Matt 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 7, 2008 Share Posted March 7, 2008 DOH, I see that now. My apologies! Thanks mate =) 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.