Jump to content


WHMCS Technical Analyst
  • Content count

  • Joined

  • Last visited

  • Days Won


WHMCS Peter last won the day on March 31 2019

WHMCS Peter had the most liked content!

Community Reputation

14 Good


About WHMCS Peter

  • Rank
    WHMCS Technical Analyst

Recent Profile Visitors

1,974 profile views
  1. Hi @J-B, I've just responded to you in your support ticket, #UAS-174768. I have answered all of your questions. For your ideas on how the module could be improved, I would encourage you to please submit a request to our feature requests tracker where other users can contribute to and vote on your idea. Ideas with the most votes and activity do get reviewed by our team. https://requests.whmcs.com/topic/management-function-for-direct-debits-gocardless
  2. Hi, I have removed your attachment from your original post, deleted your most recent reply and added the code in a codeblock in your original post. Please do provide code-snippets, rather than attachments as many people will not trust the authenticity of them. At this time, WHMCS does not support the adding of custom card types due to internal validation server-side. Your code will simply update the client-side validation. There is no way to work around this at this time. I'd recommend opening a Feature Request as I can see how the ability to add support for custom card types would be useful: https://requests.whmcs.com/
  3. WHMCS Peter


    Hi, The purpose of the single sign on function is to effectively generate a one-time use URL which will allow a user to log in without further authentication. For example, your function would return https://service.yourdomain.com/sso?user=SOME_USERNAME&accesstoken=A_RANDOM_GENERATED_HASH WHMCS will redirect the user to your service using this URL. Your service would then analyze the URL and perform a login based on the information in the URL without asking for a username and password and then invalid that URL from further use. Unfortunately, we can't provide assistance with generating a single sign-on URL for your custom service. This will likely involve knowledge of your custom service and also, new functionality to generate single sign-on URLs if this is not already present.
  4. WHMCS Peter

    Debug hook InvoicePaid

    $invoiceid is not being defined in your code. It should be $vars['invoiceid'].
  5. WHMCS Peter

    Debug hook InvoicePaid

    Perfect. I'm glad I could help!
  6. WHMCS Peter


    Hi @All Business Internet, We'd certainly welcome your idea to effectively stop invoicing for "Closed" client accounts. I recommend posting it at https://requests.whmcs.com so that others may vote on and contribute to your idea. Ideas with the most activity do get reviewed by our Feature and Development Teams.
  7. WHMCS Peter

    Debug hook InvoicePaid

    Hi! I'd recommend removing the json_decode. WHMCS returns an array by default on the localAPI so json_decode should not be required.
  8. WHMCS Peter

    WHMCS API callback issue

    Hi @JungleYoung, Can you provide an output of $response? You can use this for example: die(var_dump($response));
  9. WHMCS Peter


    Hi! We have an example available in our GitHub - https://www.github.com/WHMCS We also have an example available here: https://developers.whmcs.com/provisioning-modules/single-sign-on/
  10. WHMCS Peter


    Hi All, Although a client account is closed, it is possible that invoicing could continue. To avoid this, ensure all services under the client account are set to Cancelled or Terminated. If the products are still Active, WHMCS may continue invoicing.
  11. WHMCS Peter

    Debug hook InvoicePaid

    Hi! In this case, I'd consider logging the value to the Activity Log for development purposes. to ensure that the value can be evaluated. To achieve this, you can add this line: logActivity(print_r($whmcsinvoice, true)); More information: https://developers.whmcs.com/advanced/logging/
  12. Hi @Sanin, It looks like I can replicate this issue. Case #CORE-10435 is open with our developers in order to have this reviewed for future releases. Whilst I cannot provide an estimated time for completion for this, once we resolve cases and push features they are available at our change log, here: http://changelog.whmcs.com/ I apologize for the inconvenience, and appreciate your patience as we work to resolve this.
  13. WHMCS Peter

    Error on cart checkout update to 7.9.0

    I'm pleased to advise that we now have a hotfix for this issue. It is available for download here: Should you wish to utilise it, please unzip the directory, maintaining the directory structure and overwrite any files if asked to do so.
  14. Version 1.0.0


    An issue has been identified in the 7.9.0 release - published on 8th January 2020, that can prevent predefined products from being added to quotes in certain circumstances. An error message will be logged in the server PHP error logs or an Oops! error output on screen. The error details contain: exception 'Whoops\Exception\ErrorException' with message 'Call to undefined function array_key_first()' in /home/v79whmcssupport/public_html/whmcs/admin/quotes.php:0 This occurs when when a predefined product has One-Time pricing applied with a PHP version below 7.3.0. This hotfix applies only to 7.9.0
  15. WHMCS Peter

    Allowed memory size (phpinfo) issue

    Sure thing. If you notice an inconsistency between the memory_limit value in /home/craft/whmcs/php.ini and the one output in the CLI when running the command I provided, I'd definitely reach out to your System Administrator for assistance in diagnosing why that is occurring.

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated