Jump to content

"Error 1" on Payment Attempts


Recommended Posts



Every time a client tries to place an order or pay an invoice it gives an "Error 1"


This happens with multiple payment gateways, including WHMCS' official 2Checkout module. This module isn't even redirecting to 2Checkout, it just shows the options for paying with a Credit Card.


Everything was working normal until the update to 5.2.4.


We are running WHMCS 5.2.4 with Apache2 on CentOS 6 and i've included the PHP build below


php -v
PHP 5.4.10 (cli) (built: Dec 20 2012 17:10:38) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
   with the ionCube PHP Loader v4.2.0, Copyright (c) 2002-2012, by ionCube Ltd.


Automated credit card charging works fine via cron, it's only when manually making a payment that there is an issue.


We've updated the lang files to the new defaults so it's not a variable not being set. All forms are filled out properly.

We have tried a complete re-install of WHMCS with just our database and it's still occurring.


If you have any suggestions we'd love to hear them

Link to comment
Share on other sites


Hi Matt,


Please check if you have any custom hooks tied into the ClientDetailsValidation hook event or template customisations that might be causing this as it doesn't look like something that would come from the WHMCS core.



Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • 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