Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


steph.hope last won the day on February 20 2020

steph.hope had the most liked content!

Community Reputation

10 Good

About steph.hope

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It doesn't seem to 😞 And unfortunately we haven't upgraded to v8 yet for a host of reasons. That's fine, we'll work around it somehow.
  2. It seems that setting an invoice's status to cancelled via the UpdateInvoice API doesn't trigger the InvoiceCancelled hook. This is a problem as it seems that a 3rd party module we're using makes use of that hook to identify cancellations. Is there any other way to cancel an invoice by API that would work better?
  3. Cool, thanks for the info about the timeout, I'll see what I can do to fix that. That is one call per invoice, it's just a ridiculously large invoice 😬
  4. I've just noticed that when creating invoices through the API, it seems that only a maximum of 331 invoice items can be added in a CreateInvoice API call. We have a certain client who each month has an invoice with more than 331 items. When testing importing several months worth of these invoices, all of them are truncated at 331 line items despite the full set of line items being present in the request. It doesn't seem to be a restriction in WHMCS itself, as I'm able to add further line items through the UI or by using the UpdateInvoice API. Is this expected behaviour for the CreateInvoice API, and is this limit documented anywhere and I just missed seeing it?
  5. I got around it by changing the link in the email template to <a href="{$whmcs_url}index.php?rp=/domain/{$domain_name}/renew">
  6. I'd love to hear as well if there's a way to do this. We were never able to find a way and ended up just creating a live account for testing a doing a few small transactions through that.
  7. I need to create a DailyCronJob hook for my registrar module, and the cron function needs access to the module configuration values which are usually passed in the $params to the module functions. Is there a way to get access to these values in a different file? They're encrypted in the database so I can't just grab them from there.
  8. Does anyone know of a way to always show inactive clients in Intellisearch in Six template? I tried looking for equivalents of the above lines but no luck.
  9. Looks like it was definitely something to do with the System Health widget. Deactivating it from the menu on the dashboard didn't help but commenting out the whole widget code means I haven't seen this issue in almost 24 hours. Hope it's not just a fluke it continues to work well. Now, I've just gotta figure out what it is about System Health that causes issues...
  10. Anyway, for now I've just gone with looking it up in the database by getting the order id for the domain name, then the user or contact associated with the order. As long as there aren't duplicate records for the domain name, which it seems can happen if an order is created in the admin area, even with the "Block Existing Domains" setting active.
  11. For some time (a couple of months ish) I've been experiencing very slow loads (around 2 minutes!) sometimes when navigating to the dashboard. This tends to happen every few hours throughout the day and load times are fine in between. It's similar to the below issue: Earlier today I noticed that the System Health widget takes a long time to reload, so thought it might be the culprit and removed it from the dashboard, but just now had another slow loading incident. I'd be grateful for any other suggestions on what could be causing this - we're hoping to go live with WHMCS reasonably soon and these load times will be unacceptable then. (incidentally, the System Health page itself is also always slow to load, is this normal?)
  12. I'm having an issue with the phone number field in my registrar module. I've turned off the "international phone number automatic formatting" so that I can save phone numbers to the database with the formatting I need (eg 64 7 2222222). However, when the phone numbers are brought into the module as params when doing a registration etc, they are formatted by WHMCS as eg +64.6472222222. The leading country code would be easy enough to take out, but the spaces in the number are important as the registry expects country code, area code and local number to be split out. Is my only option to do a database call to get the unformatted phone number? As long as the Client details are being used for the registration that'll work as I can look them up by email, but if Contact details are used for the domain then there's no unique field available within the domain module to look up the contact's phone number. And there's no way within the module of knowing if it's a Client or a Contact that's being used... Any suggestions?
  13. I tried doing this myself just now. Do the invoices still show the amount of credit that had been applied in the "Credit:" value above the total? If so, you can go to the Credit tab on the invoice and use the "Remove Credit from Invoice" option. You should then be able to apply the new credit.
  14. I'm having a similar issue also on 7.10.2 - several times a day it will take a long time (>2 minutes) to load the admin index.php, and while it's loading that all other page loads within WHMCS are also slow. Once it's done a slow one it's fine again for a few hours. I'd assumed it was just something to do with our setup (it's a dev install and probably isn't set up optimally) but thought I'd post here just in case it's related to your issue.
  • 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