Jump to content

timgws

Retired Forum Member
  • Posts

    98
  • Joined

  • Last visited

About timgws

timgws's Achievements

Member

Member (2/3)

0

Reputation

  1. Hi, The "Reboot" button is going to be difficult. What kind of servers are you offering to your clients? Do they have IPMI (or something brand specific, such as Dell's DRAC or Sun's ILOM/ELOM)? Do you have no out of band management? What about power rails, can you turn the power off and on again with an API? Reinstall will also depend on reboots, but it will also depend on having a PXE server. You can have a Deployment Server, such as NOC-PS or Altiris PXE Server (http://www.symantec.com/Altiris), but you will also need to have a network that is PXE enabled (read: DHCP) and the servers should have boot from PXE enabled... either that or you would need code to mount a virtual ISO. It's a difficult subject. Regards, Tim
  2. Hi guys, I have two reseller plans. * Reseller Silver * Reseller Gold A customer should be able to upgrade from Reseller Silver to Gold. When the customer goes through the upgrade process, and pays the invoice that is raised, the order is not completed automatically. I get this returned: Module Command Error _setupreseller tried to make a reseller out of a reseller when a normal user was expected. (timmy) The problem is that I know that the reseller is a reseller, and I simply want to bump the reseller up to the next plan. Am I missing something stupid?
  3. There is a solution. You can set up a hook that will check if a domain name needs to be paid for upon transfer See http://docs.whmcs.com/Hooks:Order_Process With the PreCalculateCartTotals, you should be able to change the cart total to remove the domain amount...
  4. Well Basically, you are going to need to wait until you get the invoice number back from the gateway requesting your callback. If you do not receive one, then you will need to do a couple of tricks to work out the invoice number. If you do have the inv#, just do a simple MySQL select: SELECT * from `tblinvoices` where `id`={$invoiceid} If not, then you will need to do a few more tricks to work out the invoice number (and you will need to know the client id ) Once you have done the above SQL query, there is a column called 'total'. Simply compare this with the amount provided by the callback
  5. wwwcad: you can get the product id of a product name w/ a quick SSL query: ie: <?php include("configuration.php"); include("includes/functions.php"); $SQL = "SELECT `id`,`name` FROM `tblproducts` WHERE `name` like '%vps-1%'"; $res = mysql_query($SQL); $row = mysql_fetch_assoc($res) $productid = $row['id']; Hope this helps you at all?
  6. Hi Voctia, Is the client area OK? Can you log into accounts etc? If the client area is also not working, you may want to check the user that IIS runs PHP as, and make sure that WHMCS' temp directories (and the temp directories for PHP) are writtable by that user too,. Regards, Tim
  7. Yes, I can. But this does not help me when I am writing a callback for a payment gateway inside WHMCS
  8. Hi guys, I am currently working on integrating a payment gateaway module for WHMCS, and I am just wondering if it is possible to add a payment to an account, instead of actually adding a payment to an invoice? The current payment system that I am implementing is where a customer is given only a customer reference number - and not an invoice. Regards, Tim
  9. Hi all, I am running Plesk 9.5.2 on a server, and I was attempting to create a new hosting account on a Plesk server when I received this error: Module Create Failed - - Error: 1014 - <client_id> should be specified in <gen_setup> </gen_setup> Does anyone know what I could be doing wrong? I did have a look at http://wiki.whmcs.com/Plesk and it talks about another 1014 error (1014 - Parser error: Request is invalid) but the reason stated in the wiki for this error being caused is not valid (the username and password both only contain characters [a-z0-9]. Any help would be greatly appreciated.
  10. I went to have a look at the site and all I saw was "Bandwidth Limit Exceeded"... I am guessing that the integration must be pretty good Everyone wants to see it. Please let me know when I can have a look at the integration, I love seeing what other people have done with WHMCS.
  11. In my previous post I did not specify that Plesk's API was terrible, I said it is the same type of XML API that Virtuozzo has (which is terrible!) Are you able to share the Plesk module with the rest of the WHMCS community if you have written your own? Regards, Tim
  12. Please do not blame Matt for the terrible API that Parallels provides with Plesk (It is the same type of terrible API that Virtuozzo has) ((This is where I can say "Trust me: I wrote the module")) Please do not go on the forum saying that "the developer team of WHMCS should give a fix for all of us". You should be happy that it works ½ the time :]
  13. I have done quite a bit of work on some updated code. It is currently working for us on PIM 4.0 (We rolled back after Parallels giving us the run around, very frustrating!) What I will do is merge the updated code, write a document describing how to set it up and upload it here. Please expect this to be done in the next few days...
  14. Hey Joachim, The problem with the migration from PIM to PVA is that you are forced to also move to the newer version of VZAgent. This is where the issue with. We do not rely on PVA/PIM as a dependency, but we do rely on it's dependancy, which does need to be upgraded. The fact of the mater is this module still works if you stay on VZAgent 4.0. Stopping and starting containers still works if you move to VZAgent 4.5, but creating and upgrading containers stops working when upgrading to PVA 4.5/VZAgent 4.5. Regards, Tim
×
×
  • 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