Sagepay error code 5999

Toll Free: 800-942-0215

How to Fix SagePay Error Code 5999

SagePay Error Code 5999 typically indicates a problem with transaction registration, potentially due to settings configured incorrectly or issues with the payment gateway itself. This error can be frustrating for both businesses and customers wanting to complete a transaction smoothly. Understanding its causes and finding the right solutions is essential to resolving the issue and ensuring a seamless payment process.

Causes of Sagepay Error Code 5999

Several factors could trigger the SagePay Error Code 5999. Here are the most common causes:

  • Reason #1: Incorrect account details or settings in the SagePay system.
  • Reason #2: The transaction was declined by the bank or card issuer.
  • Reason #3: Communication issue between the merchant’s website and the SagePay server.
  • Reason #4: The presence of special characters in the transaction details that the SagePay system cannot process.

Solutions for Sagepay Error Code 5999

To resolve the SagePay Error Code 5999, follow these outlined solutions. Each solution addresses a specific cause of the error.

Solution #1: Verify Account Details and Settings

Ensure that your SagePay account details and settings are correct to eliminate any configuration errors.

  1. Log in to your SagePay account.
  2. Navigate to the Settings section.
  3. Verify that all account details, such as Vendor Name and other key information, are correctly entered.
  4. If any details are incorrect, update them and save the changes.
  5. Test a transaction to see if the error persists.

Solution #2: Contact the Bank or Card Issuer

If the issue is due to the bank or card issuer declining the transaction, contacting them might clarify and resolve the issue.

  1. Contact the customer’s bank or card issuer directly.
  2. Inquire about the reason for the transaction’s decline.
  3. If the issue is on their end, ask for steps to clear the block or resolve the issue.
  4. Once resolved, attempt the transaction again.

Solution #3: Check for Communication Issues

Ensure that there is no issue with the communication between your website and the SagePay server.

  1. Review your website’s firewall settings to ensure they aren’t blocking SagePay.
  2. Check your server logs for any timeout or connection errors.
  3. If you find issues, adjust your server or firewall settings accordingly.
  4. Test a transaction to see if the problem has been resolved.

Solution #4: Remove Special Characters from Transaction Details

Special characters in transaction details can sometimes cause issues with SagePay processing the transaction.

  1. Review the transaction details for any special characters.
  2. Remove or replace any special characters from the product names, descriptions, or customer details.
  3. Retry the transaction to see if removing the special characters resolves the error.


How do I know if the error is from SagePay or my bank?

  • The SagePay Error Code 5999 can stem from either end, but typically, contacting SagePay support will help you narrow down if the error is on their end or if you should reach out to the bank.

Can I prevent this error in future transactions?

  • Yes, ensuring that all the settings and account details are correctly inputted, maintaining clear communication paths between your website and SagePay, and avoiding the use of special characters in transaction details can help prevent this error.

Is there a specific timeframe to resolve this error?

  • There isn’t a specific timeframe as it depends on the cause of the error. Resolution times can vary from a few minutes to several hours, depending on whether you need to contact your bank or adjust website settings.

By understanding the possible causes and applying the appropriate solutions for Sagepay Error Code 5999, you should be able to resolve the issue effectively and resume smooth transactions through your SagePay gateway.

    Enquiry Form

    Get help with Sage Accounting Solutions

    • Assistance for Sage 50, Sage 100, Sage 300
    • Solutions to common Sage 50 errors.
    • Data recovery and data migration.
    sage 50 accounting services and solutions


    Toll Free: 800-942-0215