
sufi
Retired Forum Member-
Posts
58 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by sufi
-
Hello, Any ETA on this one? Can't upgrade to 7.8.x for this bug! Thanks.
- 27 replies
-
- WHMCS 7.8.3
- 2Checkout
-
(and 2 more)
Tagged with:
-
Thanks for the insight. Yes, it shows the lowest cycle price on available add-on page, and when taken to cart, it automatically coverts to the billing cycle of the active product without any option to change billing cycle. Though, it's not a major concern for me at this moment, as most of my clients don't bother about add-ons, and I am not offering much, it has some problem in the designing for sure. If an active product is in yearly cycle and has only 3-4 months left, why would someone purchase an add-on paying for whole one year! Instead, ability for choosing monthly cycle (if set from admin) would have been the right choice.
-
So, this is not any error? This is how it works?
-
@WHMCS ChrisD yes, both the product and add-on (in this case sitelock defend) has Monthly, Annually, Biennially and Triennially pricing setup and activated. I did a bit more testing. It looks like add-on billing cycle only honors the billing cycle of active product. If the active product is activated with yearly cycle, add-on gets added to cart with only yearly term without any option to change cycle. And if active product is in monthly cycle, add-on gets added to cart with only monthly term without any option to change cycle.
-
Hello, I have activated product addon with monthly, yearly, biennial pricing. When a customer tries to order addon from "Services > View Available Addons (cart.php?gid=addons)" page, it shows only monthly pricing. And when click on "Order Now", it adds product to cart with 1 year term, and no option to update billing cycle (i.e. choosing monthly or biennial). How to fix this, so clients can choose billing cycle? Note: selected active product is under one year recurring cycle.
-
Thanks for the complements. I have modified only header, footer and one support ticket tpl file of the "Six" template. Everything else was done with hooks and custom css. It makes upgrade process very easy, as I only have to check (and possibly modify) 3 tpl files!
-
Thanks for the complements 🙂
-
Hello Good People, Main site was built with WordPress, using a premium theme, with a heavy modification in design. WHMCS part was done using SIX as base, with mostly css modification, some html modification (mostly header and footer). Front end: https://dctit.host/ WHMCS: https://dctit.host/shop/ View Cart page: https://dctit.host/shop/cart.php?a=view Will appreciate your feedback. Kindly let me know your thoughts. Thanks.
-
Hello, If automated credit use is on, when an invoice is generated, it adds available credit to the invoice. But, for some reason, if that invoice is cancelled, those applied credit amount doesn't get removed automatically. It's really hard to manually remove them one by one. What is the solution in this scenario? Thanks.
-
Hello, I am trying to override smarty template from `ClientAreaPage` hook. But, when I fetch custom template, it keeps loading and loading until memory runs out, and gives a 500 internal server error! Can't seem to figure it out. Any help will be appreciable. This is what I am doing: add_hook('ClientAreaPage', 1, function( $vars ) { global $smarty; $version = $GLOBALS['CONFIG']['Version']; //tried with "post" and "output" filter - without any luck. $smarty->registerFilter('pre','template_override_output_filter'); }); function template_override_output_filter($tpl_output, Smarty_Internal_Template $template) { global $smarty; $template_file_path = $template->_current_file; //getting filename $parts = explode('/', $template_file_path); $template_file_name = array_pop($parts); $custom_directory = 'custom'; $new_file = ROOTDIR . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . $custom_directory . DIRECTORY_SEPARATOR . $template_file_name; if (!file_exists($new_file)) { return $tpl_output; } $tpl_output = $smarty->fetch($new_file); return $tpl_output; }
-
Thanks for this. I have used global $CONFIG to get the system url.
-
Title says it all. How do I get system url in a variable inside a module I am developing?
-
Add 2Checkout recurring to WHMCS Invoice
sufi replied to sufi's topic in Admin & Configuration Questions
Thanks Chris, for your recommendation. But is there any other way, apart from setting up new subscription? I would like to avoid that if possible. -
How do I add 2CO recurring payment (subscribed without WHMCS) to WHMCS invoice?
-
Any function to check invoice id other than "checkCbInvoiceID"?
sufi replied to sufi's topic in Developer Corner
Thanks. I was checking if there was any builtin function i can use. But, yes database query also solved my problem. -
Action hook priority isn't working (or am I missing something)?
sufi replied to sufi's topic in Developer Corner
Thanks. I have already sorted it out with AdminClientProfileTabFields. -
Action hook priority isn't working (or am I missing something)?
sufi replied to sufi's topic in Developer Corner
Thanks for making it clear to me. It now makes sense. The problem I am facing is actually when user data is updated from admin panel. If some admin updates (for example) email and password from the profile tab, then it triggers ClientChangePassword and ClientEdit hooks. ClientEdit hooks keep the old email, which I need to verify the password change. But unfortunately when ClientChangePassword triggers, it only returns userid and password string. Queering from DB, I can get the new email, but I need old email inside the function of ClientChangePassword. Do you have any clue/suggestion on how can I get that? -
Thanks again Brian. Should I hook to this: http://docs.whmcs.com/Hooks:EmailTplMergeFields ? I am certainly not much familiar with WHMCS hooks and functions. Do you have any example of how they work? I can easily grab the value from db. I have looked in to tblinvoiceitems, and it is (type = 'LateFee' ). However, I think tblinvoices is good enough for me, as I can get applied credit as well as total due after calculating all late fees and applied credits.
- 5 replies
-
- email template
- invoice
-
(and 1 more)
Tagged with:
-
Thanks. I can certainly use the calculation part to manually add the late fee. But problem is with the applied credit. There is a variable to get the available credit balance {$client_credit}. If there are multiple unpaid invoices, credit balance automatically applies to the first generated invoice. It will be great if, by somehow, I can get the due invoice amount associated with the service.
- 5 replies
-
- email template
- invoice
-
(and 1 more)
Tagged with:
-
I am using latest version of WHMCS. I apply late fee on 10th day from invoice due date, and an automatic service suspension on 11th day. But the problem is, when clients get service suspension email due to "overdue on payment", they see only the recurring amount of the service using this email template tag {$service_recurring_amount}. How can I show them the actual due amount (service recurring amount + late fee - credit [if any]) from the associated invoice? Because it is very confusing, as clients see recurring amount and make that payment, but still sees there are due on the invoice. So any guideline here will be very helpful. Thanks.
- 5 replies
-
- email template
- invoice
-
(and 1 more)
Tagged with:
-
Never mind, I figure it out. the match string is the message returned by the whois server when a domain is available for registration
- 2 replies
-
- match string
- new domain extension
-
(and 1 more)
Tagged with:
-
I am going to add few new domain extensions like .bike, .holiday and few more. The problem is, where can I get the whois server and match string tto put in /includes/whoisservers.php file? Any idea? And, I understand the WHOIS server, but what is this Match String? Can anybody kindly explain this to me? What does this mean?
- 2 replies
-
- match string
- new domain extension
-
(and 1 more)
Tagged with:
-
New Domains Showing Available using eNom as Registrar
sufi replied to CCSupport's topic in Using WHMCS
Just wondering where can I get the WHOIS server list with match string. Can you help please?