Jump to content


Level 2 Member
  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About akust0m

  • Rank
    Level 2 Member
  1. akust0m

    Variable domain transfer fee

    Hello, Is there a relatively easy way via hooks to adjust a domain transfer invoice amount if a domain an inbound domain transfer has an expiry date of 90 days or less away? The reason I ask is because .au domains can be transferred outside of 90 days without the need for renewal, but within 90 days the registrant technically has the option to renew the domain. My registrar module gives the option to force the renewal of a .au domain if within 90 days of expiry, but the WHMCS system has no knowledge of this. It would be good if there could be a check in place where if the domain is within 90 days of expiry, change domain transfer invoice to $X, otherwise leave invoice at $0. Hopefully there is a way :) Thanks!
  2. akust0m

    Hook to adjust country list?

    Thanks @brian! Would be good if there was a way to specify the one country I want to allow instead disabling all-1. Oh well
  3. akust0m

    Hook to adjust country list?

    Hi there, I'd like to only allow one country option instead of all of the country options available in 'includes/countries.php'. I'd prefer a way to adjust this that will survive WHMCS updates. Is there a way to adjust the $countries array via a hook? Which hook point would I need to attach it to? Thanks!
  4. akust0m

    Force pending commission early

    Hi there! I've currently got 'Affiliate Commission Delay' set to 45 days. However, in some cases, I'd like to force the commission to be available for the client straight away. Is there any way to do this? I've been looking but I don't seem to see an option for this aside from removing the pending entry and manually adding $ to their 'Available to Withdraw Balance'. Thanks in advance!
  5. akust0m

    Affiliate - Request Withdrawal

    Hi there! I've just started using the affiliate system in WHMCS. However, I've noticed when a client clicks on 'Request Withdrawl', it doesn't ask them whether they would like an account credit or deposit in their account. It just sends a ticket into WHMCS with the following content: --- Affiliate Account Withdrawal Request. Details below: Client ID: X Affiliate ID: X Balance: XX.XX --- This just seems to delay the process as we then need to ask the client what they would like and have them supply bank details if required etc.. Is it possible to implement a form once clicking 'Request Withdrawal' with a couple of options such as: 1.) Apply balance as credit - This would allocate the credit with no further intervention from staff 2.) Deposit to bank account - This would ask the client for their bank details, these details can then be submitted through in a ticket for processing Just wondering if this is possible and also how others manage this aspect of the affiliate process? Thanks! EDIT: Maybe there is a hook to create a second button to apply balance as a credit on their account instead?
  6. I assume a hook could be used to put a tick box on the 'Manage Credit Card' page, but unsure on the code to modify the parameter in the db to toggle auto cc processing on/off.
  7. Hi there, I understand that there is an option 'Disable Automatic CC Processing' in the Profile tab for a client in the admin area. However is there an option to allow the client via the client area to toggle this option on/off, perhaps with a tick box? Is there a custom way of implementing this? Thanks!
  8. Hi there! Just wondering whether this is possible... When using the Stripe module, if a client has a credit card token saved, when paying an invoice they are given two options: Use existing card Use a new card If they choose to use a new card, the new card details override the existing saved credit card. Is there a way to give the client an option to use the new card as a once-off payment and not change the saved card details? I've got the following options ticked: Disable Credit Card Storage Allow Client CC Removal Thanks!
  9. akust0m

    Product Addon Pro-rata?

    Hi there! We've just started offering a WordPress Management plan and currently have it set up as an addon. However, there doesn't appear to be the option for pro-rata, is there a way to force pro-rata on addons? If not, we may switch it to a standard product/service to ensure it is on the same same invoice as the hosting service which is due on the 1st of the month. I've considered configurable options, but it doesn't seem like it is designed for this type of service we're offering. Thanks!
  10. Thank you for your reply. I haven't done so yet, I'll attempt the latest update again manually now. Edit: The manual update fixed the issue.
  11. Hey, When navigating to Utilities > Update WHMCS, I am greeted with the 'Oops! Something went wrong..' error. Temporarily displaying errors gives the following: TypeError: Argument 1 passed to WHMCS\View\Admin\HealthCheck\HealthCheckRepository::checkUpdaterRequirements() must be an instance of WHMCS\Installer\Update\Updater, string given, called in /var/www/vhosts/my.example.com/httpdocs/admin/update.php on line 0 and defined in /var/www/vhosts/my.example.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php:0 Stack trace: #0 /var/www/vhosts/my.example.com/httpdocs/admin/update.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->checkUpdaterRequirements('67108864', NULL) #1 {main} How would I go about resolving this error? Thanks!
  12. akust0m

    List upcoming invoices

    Hi @brian! Works well! I've manually removed a couple of columns that I didn't need, but apart from that, it works great! Is there an easy to way to include a total for the 'Amount' column? Edit: Also, would it be easy to make this a custom report instead of a widget? Thanks!
  13. akust0m

    List upcoming invoices

    Hello, Is there a native or custom way to obtain a list of upcoming invoices that have not been created/issued yet? For example, if you have pro-rata billing for the 1st of the month but invoices haven't been raised just yet, is there a way to list these even though they haven't been raised yet? I was going to see if I could write a query but I thought I'd see if anyone had a solution first Thanks!
  14. Hello When navigating to either one of the following client area pages, all services are shown regardless of whether they are active, terminated, cancelled etc.. https://example.com/clientarea.php?action=services https://example.com/clientarea.php?action=domains You can filter the results by clicking on one of the "View" buttons on the left. However, is there a way to have "Active" set by default? Thanks!
  15. Whoa, I think I just solved my issue and I don't even do coding/development It is probably bad code, if someone could critique this method that would be fantastic. I've changed the top of clientareacreditcard.tpl as per the following: From.. {if $remoteupdatecode} <div align="center"> {$remoteupdatecode} </div> {else} <div class="credit-card"> <div class="card-icon pull-right"> <b class="fa fa-2x {if $cardtype eq "American Express"} ... and so on ..to the following {if $remoteupdatecode} <div align="center"> {$remoteupdatecode} </div> {elseif $clientsdetails.defaultgateway eq "paypal"} <div align="center"> {$LANG.denynewccwithpaypal} </div> {else} <div class="credit-card"> <div class="card-icon pull-right"> <b class="fa fa-2x {if $cardtype eq "American Express"} ... and so on So now the customer will not be given the option to add a new credit card if their payment method is set to PayPal. Is there a way to make this code change more permanent. Is it possible through a hook instead? - - - Updated - - - Ended up changing the exception code to the following in case any other payment methods get added: {elseif $clientsdetails.defaultgateway neq "" || "ewaytokens"} <div align="center"> {$LANG.denynewcclocalstorage} </div> {else}

Important Information

By using this site, you agree to our Terms of Use & Guidelines