Jump to content

LeonardChallis

Member
  • Posts

    27
  • Joined

  • Last visited

Everything posted by LeonardChallis

  1. The only hooks we have are the google analytics, kopage site builder and CloudFlare ones which I doubt will affect the invoice cron jobs.
  2. Different customers, using different products, but within the same product group. It's quite a low traffic site so I don't necessarily want to make any presumptions about the fact they are in the same group as that's the one we sell most stuff from - just something to bear in mind. Only one currency being used. I've been through and compared each product and the product group with other products and groups that I know are working and apart from the obvious like price and name there are no differences between the products.
  3. Some, but not all, invoices are being generated by the cron job on our installation. We have the cron job running successfully (with complete messages) daily at 9am. Our most recent customer that failed to generate an invoice had the next due date set correctly, billing was set to annually, recurring amount correct, etc. No errors in the activity log were shown up (for 14 days before renewal date as set in our settings). No record of emails sent to this customer. It did, however, run the suspension, suspending the account and emailing the customer. The invoice wasn't created and deleted. I have been through all the points in http://docs.whmcs.com/Invoicing_Issues#Items_Not_Invoicing and unless I've missed something it doesn't appear to be connected to any of these issues. As I said, other invoices are being generated but I can't seem to tell why this one hasn't. Any suggestions as to where we can look next to figure out this issue?
  4. We have a product bundle with web design product and web hosting product. We also have a promo code which is applicable to the web hosting product, removing 100% of the value, one time. We link directly to add the product using the promo code in the link. At the checkout, at the bottom it says "PROMOCODE - 100% One Time Discount", and in the checkout table it has the "100% One Time Discount" line, but the value is always £0.00. I also tried changing it to a fixed amount but even so it still shows up as "£36.00 One Time Discount: £0.00". I'm pretty sure this used to work fine and coincidentally we upgraded from 6.x to 7.1 this week. Any ideas?
  5. Can anyone shed any light on this scenario: a client received an email saying they need to renew their domain, so went ahead and paid for it, the module command ran but failed. In our logs we are seeing the following: This came after a client successfully paid for the domain with their credit card. We use the built-in Enom module. Edit: Found this in the email that was sent to the client:
  6. We require a WHMCS developer to debug some issues we're having with our server. The issues are: - Customer product upgrades aren't working - Automatic invoicing seems to have stopped working - Changing expired credit cards doesn't work These issues seem to stem from an upgrade from 5.x to 6 and the custom theme we're using. We want someone to have a look and decide whether a) it can be fixed or b) if we to take the advice of forum replies and have a fresh install - in which case we'd need someone to implement our custom theme, checking it's not the cause of things being broken, and port the data of our current customers over (we have less than 100 customers I believe). Our first port of call was to try on places like freelancer/rentacoder type sites but with all due respect to the talented developers there, the communication barrier and the over optimism on applicable skills has really been a waste of our time. We're certain there will be questions for more specific information, we're happy to provide whatever we can. Thanks all
  7. I'm struggling to upload images to WHMCS, so I've added them to usecanvas. I hope this gives the information requested: https://usecanvas.com/shared/whmcs-upgrade-bug/3wTkS1eT2SlzfHCndBHoPr Many thanks
  8. WHMCS forum seems to have issues with posting images - they keep failing. I will upload and edit this message shortly.
  9. This isn't working for me. Please see this post for more details (I realised it was probably a bit old this post) http://forum.whmcs.com/showthread.php?114171-Product-upgrades-questions&p=462523
  10. I hope I'm just confused here and there isn't a larger issue at hand. I have a product group with three products in. When I order the first product I am given the choice to upgrade to either of the two higher priced ones. But when I choose the product, it goes through to the page where I select my payment type and optionally add a promo code (I'm not using a code, just describing the page), I hit continue and then I'm told the order is being processed. The client area, however, doesn't show up the upgrade order, no unpaid invoices, etc. The (sandbox) payment gateway also doesn't show any transactions. In the WHMCS admin area I see a pending order. When I click it I see status as pending. In the order items table I see the correct price, but Payment Status says "No Invoice Due". When I click the green "Accept Order" button it sets it to active, but nothing happens - the product/service for the client doesn't change nor are any module commands run. Am I missing something obvious here? Why won't upgrades work? I'm using the latest version of WHMCS. Many thanks
  11. I'm having this issue too. It seems to upgrade but doesn't run the module commands maybe? And it's the same if I do it in the back end or if a customer does it from the web site. Any ideas anyone?
  12. That's the user ID of the user who cannot update their credit card - the only user (we've found) that cannot update it.
  13. Yes, here is what I found: UserID => 5 exception 'Braintree_Exception_NotFound' in /home/web/public_html/modules/gateways/braintree/lib/Braintree/Util.php:59 Stack trace: #0 /home/web/public_html/modules/gateways/braintree/lib/Braintree/Http.php(48): Braintree_Util::throwStatusCodeException(404) #1 /home/web/public_html/modules/gateways/braintree/lib/Braintree/PaymentMethod.php(153): Braintree_Http::put('/payment_method...', Array) #2 /home/web/public_html/modules/gateways/braintree/lib/Braintree/PaymentMethod.php(61): Braintree_PaymentMethod::_doUpdate('/payment_method...', Array) #3 /home/web/public_html/modules/gateways/braintree.php(309): Braintree_PaymentMethod::update(NULL, Array) #4 /home/web/public_html/includes/ccfunctions.php(0): braintree_storeremote(Array) #5 /home/web/public_html/clientarea.php(0): updateCCDetails() #6 {main}
  14. One of our customers if getting the error "Remote Transaction Failure. Please Contact Support." when trying to add a credit card to their account. The weird thing is, though, that this isn't happening to anyone else. And it's not just their own card - we've tried adding a card to the account that we've successfully added to a couple of other accounts, but it doesn't work on there either. I've been trying to diff data from tblaccounts and tblclients to compare these accounts but nothing obvious has sprung up. All the searching I've done on the matter seems to bring up people with the error for all clients, but ours is specific to one client. Can anyone point me in the right direction please? Many thanks.
  15. I have a pretty specific use-case and I'm not sure if it's possible. A client has a hosting package with us, but no domains. When setup, it was hosting only, and they now have two web sites with the domain and an addon domain set in cpanel. Now they want to move the two domains to us. .co.uk domains are free to transfer to another registrar (using the IPS_TAG not an EPP) but WHMCS seems to want to renew them for an extra year. I simple want to transfer the two .co.uk domains over to our registrar (we're using ENOM) and have them applied in the client's account, linked up to the hosting/registrar modules correctly. This shouldn't cost them any money because it's a free transfer and we don't want to renew the period just yet. Is this technically possible? If not, and there are other workaround like transferring to ENOM manually then adding the domains after or something like that then please let me know and/or link me to some relevant documentation. So far I've not been able to find what I wanted. Many thanks
  16. Hi guys, I've tried searching for this in Google and all I see are other people's web sites that have the same issue On my cart page (cart.php) I get the following error: array_key_exists() expects parameter 2 to be array, null given in /path/to/orderfunctions.php In my configuration.php I have $display_errors set to E_ALL ^ E_NOTICE. If I add ^ E_WARNING then the errors go. So maybe the real question here is, should I be hiding warnings on production? Thanks for any advice on the issue.
  17. I've cloned the new six theme and I now want to add some custom Javascript. I see there is whmcs.js added in the footer, but I don't want to add custom code here as it will get overwritten with updates. Is there an accepted method of adding your own Javascript? I was thinking of just adding a custom.js, storing it alongside the other JS files and linking to it from footer.tpl. Thanks
  18. This is all really valuable information - thanks brian! and Merry Christmas!
  19. That's great, thank you brian! I was wondering if anyone had any further information on the availability of (template) variables in hooks for me? Thanks again
  20. I am modifying my primary and secondary menu, as suggested in the Editing Client Area Menus documentation. I Want to move the View Cart link down in to the secondary navbar, along with a cart icon and a badge with the number of items. It's that last part I'm stuck with. So far I have this: $secondaryNavbar->addChild('View Cart')->setLabel(Lang::trans('viewcart'))->setUri('/cart.php?a=view')->setOrder(20)->setIcon('fa-shopping-cart')->setBadge('X'); Where 'X' is, I wish to put the cart items count. I see in header.tpl there is $cartitemcount, but I can't seem to find out a way, or even if it's possible, to access this information? I saw in the documentation the use of Lang::trans, so I can only hope there are more available to me. If so, I'd really appreciate a link to the documentation for this - even if it's just general smarty stuff. Many thanks
  21. I am having this issue, (blank domainchecker.php) but I just upgraded from 5.3.x to 6.0.2. Anyone else having it for this version?
  22. We want to offer a bundle of web design, web hosting and a domain. For the first year only, the hosting and domain will be free, with a one off fee for the web design. After the first year the standard recurring prices will come in to play for hosting and the domain. We created a bundle which is made up of a web design product and a hosting product. The hosting product requires a domain. We tried offering a free domain with the web design (we don't want hosting to have a free domain, we want it to be free with the web design as part of the bundle only) but as this was a one-time cost it didn't work properly. We decided to instead override the price from the bundle configuration options, which worked fine, apart from the fact we want the price to override for the first year only. Is it possible to do this, or is there a better way to handle this altogether? Essentially we want to offer web design with a years free hosting and domain, which will auto-renew after the first year at the standard cost, and we don't want to be going in manually updating the recurring cost either. Any links or help appreciated. Cheers
  23. But then if it's not in a hook, the non-custom client pages won't have the menu and other variables available to them the same as custom pages. That's why I put it into a hook - so that they'd be available everywhere.
  24. There are a few parts to this, so I'll try explain the best I can. We have a web site that has multiple custom pages - our main content is shown on these pages. Instead of creating lots of PHP files, I have made page.php and load custom content depending on the URL. This is handled through a simple .htaccess rewrite rule. page.php has the following content: <?php define("CLIENTAREA",true); require("init.php"); $ca = new WHMCS_ClientArea(); $ca->initPage(); ... $slugs = array('domains', 'web-design', 'web-hosting'); $slug = $_GET['slug']; if (in_array($slug, $slugs)) { $slug = '404'; } $ca->setTemplate('pages/' . $_GET['slug']); $ca->output(); ?> In header.tpl I want to show a menu, but to do so there needs to be some code that figures out the links, active pages, page titles, breadcrumb, etc. But if I put this code in page.php then it won't show up on normal client pages. I decided to put it in a hook, that would setup the data as template variables to be used in header.tpl. I wrote a function which returns the correct data and made the hook like so: add_hook('ClientAreaPage', 1, 'hook_headersetup'); This works fine for both pages I created and normal client pages in WHMCS. However, on my custom pages I also want to set the title, breadcrumb, etc. In page.php I can use code like this: $ca->setPageTitle() and [php$ca->addToBreadCrumb()[/php], however the variables that are setup in the ClientAreaPage hook aren't available here. What should I do in this case? Many thanks.
×
×
  • 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