Jump to content

Mark Donne

Retired Forum Member
  • Posts

    60
  • Joined

  • Last visited

Everything posted by Mark Donne

  1. Hi Does anyone know of an Add-on that can be setup to notify when a particular Product/Service is overdue? We have a requirement where we need to be alerted by email as soon as a particular Product for a Client is overdue by 1 day. We sell a number of different web hosting products so BCC'ing us into the Payment Reminder email is not an option as we only need to know about this 1 Product where any Client has it. We have tried looking into it and the only way that we can think of achieving this is by using the InvoicePaymentReminder Hook and filtering on the underlying Product/Service. Hoping someone has already done this and we can just buy it. Thanks for any reply. Mark Donne
  2. Hi WHMCS Community We have been trying to track down a problem that we have had for a while now and I wondered if anyone else was having it. We were getting instances where a domain renewal invoice was not being generated and we even had a couple cases where the domain expired and we had to swallow the Redemption fee to get the domain back for the client. We figured out that it was being caused by the nextinvoicedate field in the tbldomains table sometimes jumping ahead 2 years on a 1 year renewal but it appears to be random. We thought for a while that maybe someone in our Accounts department was double clicking the "Add Payment" button on an incoming BACS payment but we know it isn't that as we only ever see 1 Transaction. We also know it is not the clients ticking "Disable Auto Renew" and then unticking before they contacted us as we checked back on the backups when we thought it could be that. We now monitor the nextinvoicedate field every few weeks by running this SQL SELECT d.domain,d.nextduedate,d.nextinvoicedate,ii.duedate FROM tbldomains d LEFT JOIN tblinvoiceitems ii ON d.id = ii.relid AND ii.duedate = d.nextduedate AND ii.type='Domain' WHERE d.nextduedate <> d.nextinvoicedate AND d.STATUS IN ('Active','Expired') AND (ii.duedate IS NULL OR ii.duedate <> d.nextduedate) This throws up any domains that are Active or Expired where the nextinvoicedate is in the future and no corresponding invoice has been created that matches it. We do catch a few domains this way which would otherwise fall through the cracks and expire but I still can't figure out what is going wrong. We do use Continuous Invoice Generation and our Domain Sync Settings are enabled and we Sync Next Due Date 0 days ahead of Expiry. I did find this post from 2018 where it sounds very similar but they never had any replies Has anybody else recently seen or experienced this problem? Mark Donne
  3. Hi Forum A little background information first... We currently use WHMCS to invoice our clients for our products which are subscription based and invoiced according to the number of users that they have. To do this we have created a number of products in our WHMCS installation but these are not linked to any modules as all upgrades and downgrades are performed manually. Quite simply the more users a client has the cheaper the "per user" cost is so we have defined the products like this: Product A 1-10 users Product B 11-50 users Product C 51-100 users etc etc We are using the configurable options part of the products to record the exact number of users and automatically invoice accordingly. This all works really well... ...except when it comes to performing an upgrade. We quite often perform upgrades to add 1 user for a client and this in itself is not the problem - the problem comes where we need to do another upgrade for a user and they haven't paid for the previous upgrade so the system wont do it. We allow 30 days from the invoice date before payment is due but perform the upgrade straight away so this happens quite a lot. To get around this problem, we are currently going into the outstanding invoice and duplicating the invoice line detail and amount and then removing the first invoice line (as this invoice line is linked to the upgrade). We then update the totals in the product to the old upgrade that was outstanding and tick "Auto Recalculate on Save" to update the amounts. We then finally perform the new upgrade for the user. So, my question is simply, is there an easier way to do this? We basically want the product totals to recalculate as soon as creating the upgrade order/invoice. On more than 1 occasion we have lost out where an upgrade order was placed, say for example from 30 users to 40 users, and the renewal went out for 30 users because the upgrade invoice had not been paid yet. Any help or advice that you can give would be greatly appreciated. Thank you in advance. Mark Donne
  4. We are running the latest 5.3.12-release.1 and we have found what we believe is a Bug with the wrong error being reported back to the Admin user. This relates to the Enom module for Domain renewals. Under normal circumstances when you pay an invoice that has an Active Domain renewal in it the system will make the following API calls: getcontacts -> getdomaininfo -> extend These can be seen from the Module logs. However, if the getdomaininfo call fails with "CURL Error: 7 - Failed to connect to reseller.enom.com port 443: Timed out" it attempts to call updateexpireddomains which generates an error from Enom back to the Admin user. The error from Enom is "This is an active domain, hence no need to renew it." So, the error we are told about via email is "This is an active domain, hence no need to renew it." but in fact, the real error was "CURL Error: 7 - Failed to connect to reseller.enom.com port 443: Timed out" which you would only know about if you have Module logging turned on. Regards Mark Donne
  5. General Release 5.3.10-release.1 Whenever we create an upgrade order for someone the "Order Confirmation" email does not include the VAT in the "Total Due Today" field. It displays it for new orders fine. The {$order_details} Merge field outputs as follows: For a New Order --------------------SNIP------------------------------------ Product/Service: Web Hosting Domain: testing.com First Payment Amount: £19.95 GBP Recurring Amount: £19.95 GBP Billing Cycle: Annually Total Due Today: £23.94 GBP --------------------SNIP------------------------------------ But for an Upgrade --------------------SNIP------------------------------------ Upgrade/Downgrade: FREE Forwarding => Web Hosting Billing Cycle: Annually Total Due Today: £19.95 GBP --------------------------------------------------------------- The order itself is raised with VAT correctly and as if you view the invoice it does have the VAT on there but we have had a number of people pay the wrong amount when they pay via BACS and chasing a few quid is not fun or productive for anyone! Thanks Mark Donne
  6. Hi We have been using WHMCS for around 6 years now and we still struggle to do something as simple as downgrade a product where an invoice has already been raised. Without editing the tblhosting table (which is what we do now) what do other people do when a client wants to downgrade a product that already has an invoice raised? Thanks Mark Donne
  7. The Nominet module has stopped passing the Company number again when you choose "UK Limited Company". We are running 5.2.10 but the Nominet module shows v5.2.8 (updated on the 3rd October 2013) Here is the xml post that our module logs show was sent to Nominet. <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <command> <create> <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>SECRET SECRET</contact:id> <contact:postalInfo type="loc"> <contact:name>SECRET SECRET</contact:name> <contact:org>SECRET SECRET</contact:org> <contact:addr> <contact:street>SECRET SECRET</contact:street> <contact:city>SECRET SECRET</contact:city> <contact:sp>SECRET SECRET</contact:sp> <contact:pc>SECRET SECRET</contact:pc> <contact:cc>GB</contact:cc> </contact:addr> </contact:postalInfo> <contact:voice>+44.12345678</contact:voice> <contact:email>SECRET SECRET</contact:email> <contact:authInfo> <contact:pw>SECRET SECRET</contact:pw> </contact:authInfo> </contact:create> </create> <extension> <contact-ext:create xmlns:contact-ext="http://www.nominet.org.uk/epp/xml/contact-nom-ext-1.0"> <contact-ext:trad-name>SECRET SECRET</contact-ext:trad-name> <contact-ext:type>LTD</contact-ext:type> <contact-ext:opt-out>N</contact-ext:opt-out> </contact-ext:create> </extension> <clTRID>ABC-12345</clTRID> </command> </epp> Regards Mark Donne - - - Updated - - - As an update to my own bug report, I replaced the updated Nominet files with the ones back from August 2013 and its working again.
  8. Yes, some official response from WHMCS would be nice as we are all starting to get a little nervous, we too just received the email from Nominet "You have until 9 July 2013 to complete your transition". Will we have an updated Nominet module by this date?
  9. We are trying to add the .ae whois server to the whoisservers.php file but we are not able to get WHMCS to interpret the output correctly. http://whois.aeda.net.ae/whois/whois_check.jsp I believe you have to tell WHMCS the output for when a domain is available which according to the whois server for .ae is "Available". The output for when a domain is not available is "Not Available". No other output is sent for both results and the reason I think we are getting a problem is the word "Available" is seen in both outputs. Is there a way we can tell WHMCS the difference?
  10. Nope, same problem. My code still returns an error if I try and assign anything but success to $result. I have settled for leaving it as an error as that way I at least get some output returned as follows: "Module Command Error success - 1 Users, Last login was on 21/05/2012 from xx.xx.xx.xx" The button was designed to get some data and return it in the output, namely the last time a user had logged in. It will do for now but if anyone else has any ideas then please do let me know, its always nice to see a Green Success tick rather than an error logo when running a command
  11. Matt, are you able to offer any advice on what the problem could be or where we are going wrong?
  12. Hi We are trying to output some simple HTML text in a custom module we have written but every attempt seems to come up blank. I have even tried stripping the code down to 3 lines and it still does not output anything. The following code does not output anything at all. function mymodule_AdminCustomButtonArray() { $buttonarray = array( "View Activity" => "useractivity" ); return $buttonarray; } function mymodule_useractivity($params) { echo "<p>Testing 1 2 3</p>"; $result = "success"; return $result; } The "View Activity" button shows OK and if we press it it simply says "Module Command Success" without anything else. We are using the latest version 5.0.3 under Windows. What am I doing wrong? Thanks Mark Donne
  13. Can the code be changed so that the connection times out in WHMCS. The problem we are having is that if 1 person tries to access any part of WHMCS which attempts to talk to Enom the WHOLE WHMCS system is unavailable for anyone else browsing the site that that time and times out. The result of this is that it makes it look like a WHMCS issue or worse it looks like we are down.
  14. Nope not yet (at least as far as I am aware they aren't!)
  15. Hi, We have just finished writing a custom server module and noticed the following bug. Let me show you how we can reproduce it! We have 2 products that both have a custom field called "Months Valid For", this is a dropdown field with the values "unlimited,1,2,3,4,5,6". Looking in the database we can see that the id for one of the custom fields is 4 and the other is 5. So far so good. We place an order for one of the products and manually set the "Months Valid For" to 6 everyting is stored and working fine. We then change the Package to the other product and set the "Months Valid For" to 3. At this point we can look in the database and see that the fields are all stored correctly with the right fieldid and relid. BUT - if we click the "Change Package" button which calls our custom server module we get the wrong value given to us. We are referencing the field as $customfields["Months Valid For"] To prove this I inserterd the following PHP code just before the return command: print_r($customfields); You can see from the attached screenshot that even though the "Months Valid For" is set to 5 the module that ran told us it was 4. This is on WHMCS Version: 3.8.2 If you need any more information please let me know. Regards Mark Donne HOST100
  16. Hi We have setup Configurable Options with a single entry called "Additional Companies" and this has one option called "Additional Companies" which is a quantity option. This has been applied to roughly half of our products and works fine when it is tested against a product where the Configurable Option does apply. BUT, if we go edit a product where it is not supposed to apply we get the following error in the Configurable Options tab: <select name="configoptionlinks[]" size="8" style="width:90%" multiple> <option value="1"<br /> <b>Warning</b>: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in <b>D:\HostingSpaces\HCL15600009\billing.leaveplanner.com\wwwroot\admin\configproducts.php</b> on line 0>Additional Companies - Additional Companies</option></select> If I re-edit the Configurable Option and apply it to all products the error goes away. But if I then go back and unselect the products that are not meant to have it the error comes back.
  17. Hi Is it possible to quickly jump to the last invoice that was generated for a Product/Domain? When a client does not want to renew a domain/product we currently go into the domain/product and set it to cancelled and then have to hunt for the correct proforma invoice to cancel it (some clients can have a lot of invoices). Before I go asking for a feature request I thought I had better check we are not missing something! Thanks Mark Donne HOST100 http://www.host100.co.uk
  18. Intelligent Search is AWESOME!
  19. Hi, We have just noticed that when a client chooses to upgrade their Package the summary page is not showing the Tax. It simply shows "@ %". The original package and the package they are trying to upgrade to both have the Tax button ticked. Its ok for a new order, just an upgrade. Is this a known bug or a new one? Thanks Mark Donne HOST100 ### DEBUG INFORMATION ### Registered to: Edward Percival License Type: Owned License No Branding License Key: HIDDEN License Expires: Never WHMCS URL: http://billing.host100.co.uk/billing WHMCS Version: 3.7.1 User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 3.5.21022) PHP Version: 5.2.6 MySQL Version: 5.0.41-community-nt
  20. So back to my original post, I'm gonna post it in the Feature Request section
  21. Found this on another post. Not sure what to do now!
  22. So something like this you think? {foreach key=num item=invoiceitem from=$invoiceitems} <tr> <td>{$invoiceitem.description}{if $invoiceitem.taxed eq "true"} *{/if}</td> <td>{$currencysymbol}{$invoiceitem.amount} {$currency}</td> </tr> {if $ProductCustom-ADSL Telephone Number} <tr> <td colspan="2">{$ProductCustom-ADSL Telephone Number}</td> </tr> {/if} {/foreach}
  23. Hi, We recently went live with WHMCS after nearly 12 months of planning and so far so good except for one small problem which we are hoping we can resolve. One of the services we provide is broadband and we use WHMCS to send out the monthly invoices. We have created a custom Product Field to store the Phone Number that the broadband relates to for each client and we had hoped to get this information onto the invoice. The ideal scenario would be a new line in the invoice details which would appear under the product line showing something like " - Field Name : Field Value" with a zero Amount. A tick box could be added to the Custom Fields area in Product/Services to control whether this field was displayed on the invoice or not. Is this a viable New feature Request or is there some workaround that I am missing. I know that there is a merge field called [ProductCustom-FieldName] but I don't believe I can get this to display in the invoice line can I? Thanks for any help. Mark Donne HOST100
  24. Ah ha, you beauty! That fixed it for us as well
  25. Hi, Does anyone use the [RootUsername] or [RootPassword] merge fields? If you do what is the difference between them and the [username] and [Password] merge fields? I ask because we would like to use the [username] and [Password] fields to alert the customer of their Control Panel details (DotNetpanel) and the [RootUsername] and [RootPassword] to tell them what their Server Login Credentials are (for a Dedicated Server Order). When we use them in a merge field they both give the same answer which is the control panel username and password. Just thought I would check to see that this is not a bug before we implement the [ProductCustom-FieldName] option! Thanks Mark Donne HOST100
×
×
  • 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