Firestorm Posted March 2, 2008 Share Posted March 2, 2008 Hello, I would like some feedback about this product, and it's capabilities for me to have an external script that would handle bandwidth calculations and billing for colocation customers. Currently, I am using a custom script with Modernbill V 4.x that reads from an RTG database, checks the due date of each customer, then generates a single custom invoice for bandwidth if their billing is set to renew on that day. Does anyone know, or can anyone point me in a direction to research an option similar to this for WHMCS? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
andymoo Posted March 3, 2008 Share Posted March 3, 2008 check out the manual there is an invoice creation function your script will be able to call with the API http://v3manual.whmcs.com 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 3, 2008 Author Share Posted March 3, 2008 Well hey, how about that. *there* is the manual! I looked everywhere and couldn't for the life of me find the damned thing, lol Thanks mate! 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 3, 2008 Author Share Posted March 3, 2008 Ok, after looking at that, it looks to be *much* better than the current method I'm using. Much cleaner and manageable. Now for the next question. I see the function named "Get Client's Data by ID" (http://v3manual.whmcs.com/display.php?id=167). Can anyone give me a complete list of what data this returns? What I'm specifically looking for is a method to get the due date of any current invoices. Obviously, the reason for this is to know when to grab the information out of the RTG database, and generate the 95th% totals for the invoice. 0 Quote Link to comment Share on other sites More sharing options...
ask21900 Posted March 3, 2008 Share Posted March 3, 2008 Well hey, how about that. *there* is the manual! I looked everywhere and couldn't for the life of me find the damned thing, lol Thanks mate! lol... There is also a link on the help menu of your WHMCS install... 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 3, 2008 Author Share Posted March 3, 2008 Actually, I hadn't installed the demo until just a bit ago, and I didn't see the link at the top of the main site. Yeah, I'm blind... that's one of the many things that happen when you get old 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted March 3, 2008 Share Posted March 3, 2008 Ok, after looking at that, it looks to be *much* better than the current method I'm using. Much cleaner and manageable. Now for the next question. I see the function named "Get Client's Data by ID" (http://v3manual.whmcs.com/display.php?id=167). Can anyone give me a complete list of what data this returns? What I'm specifically looking for is a method to get the due date of any current invoices. Obviously, the reason for this is to know when to grab the information out of the RTG database, and generate the 95th% totals for the invoice. Its easy to find out what a variable or array has available. <?php var_dump($var); ?> 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 6, 2008 Author Share Posted March 6, 2008 Nothing in that array about invoices. Any ideas of where to get this data? 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted March 6, 2008 Share Posted March 6, 2008 Nothing in that array about invoices. Any ideas of where to get this data? Do you know that much about php? 0 Quote Link to comment Share on other sites More sharing options...
Firestorm Posted March 7, 2008 Author Share Posted March 7, 2008 Do you know that much about php? I would rate myself moderate in PHP. Why do you ask? 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.