By Antonio Garcia May 21, 2024 8 min
Sage Pay error 4020 typically occurs when your web server’s IP address is missing or incorrectly configured in the Opayo/Sage Pay Administrative Site. Call at +1-844-341-4437 for immediate and live Sage assistance. When this registration mismatch happens, the application causes an error message and blocks transactions. While a missing IP address is the primary reason, several other configuration mismatches can cause this problem.
This guide breaks down the hidden factors behind Sage 50 Pay error 4020 and provides the best troubleshooting solutions to get your Payment gateway back online quickly.
Table of Contents
ToggleSage Pay error 4020 occurs when the software detects an invalid IP address for transactions. Users receive an error message, stating “Error 4020: Information received from an Invalid IP address”.
This security mismatch between your system and Sage Pay (which is now Opayo). It immediately halts your Payment processing and causes performance lags. Resolving this issue requires updating your server’s IP address within your administrative settings to get transactions flowing smoothly again.
Sage Pay error code 4020 indicates that the information was received from an invalid IP address. It occurs when your website attempts to process a transaction or callback, but the outbound IP address of your web server is not registered in your Payment gateway account.
The IP address your server uses to communicate with Sage Pay has not been added to your Valid IP list. As a result, it brings Sage Pay error 4020 invalid IP address message.
If you are on shared hosting, your site might be using a different outbound IP address than your main domain, or it may rotate through a pool of IPs.
Moving your website to a new host, changing servers, or upgrading hosting plans changes your server’s IP address, breaking the previous connection.
Using the wrong endpoint or failing to update server-to-server POST configurations when changing accounts or sub-domains.
Here is a step-by-step solution guide to troubleshooting and resolving Sage Pay (Opayo) error 4020:
Solution 1 – Verify The Accurate Sage Pay IP Address
One of the most common reasons for facing Sage 50 error 4020 is when your web server’s IP address is not added to Sage Pay (Opayo) admin site. Follow the prompts below to verify the correct IP address:
Solution 2 – Add The Missing/Correct IP Address To Your Sage Pay Control Panel
A missing or incorrect IP address causes the error code 4020 in Sage Pay. We suggest that you add the approved IP address to your Sage Pay Control Panel.
Solution 3 – Restore System To The Previous Version
Another effective method to get rid of Sage Pay 4020 error is restoring the system to the previous version. This approach can prevent issues between Sage 50 Pay and IP address configuration. Here are the steps to focus on:
Solution 4 – Temporarily Turn Off Your Windows Firewall/Antivirus
Your Windows Firewall/Antivirus can prevent Safe Pay from accessing the internet, which may result in Sage Pay error code 4020. To address this problem, disable the Firewall, add Sage 50 Pay as an exception in the program, and then try sending transactions.
Note – Never leave your Firewall permanently disabled. Now that the exception is made, turn your security back on.
Solution 5 – Configure Network Ports
Sage 50 and the payment gateway require specific network ports to be wide open for outbound traffic. If your router or network switch blocks these, transactions will fail, and you will receive the Sage error 4020 message.
Ensure your network router/hardware firewall allows Outbound traffic on the following ports:
Solution 6 – Enable TLS 1.2 And TLS 1.3 Security Protocols
Sage Pay requires secure TLS connections. If your Windows internet settings are using outdated security protocols, the connection will be blocked. This problem can also cause Sage error 4020, so fix it with the steps below:
Solution 7 – Add Sage Pay (Opayo) Domains To Your Network/Proxy
If your business uses a proxy server or an internet filter, it may be blocking the URLs Sage 50 uses to connect to the payment gateway. You need to add these URLs to your trusted sites.
Sage Pay error 4020 can disrupt your business operations. However, by ensuring your server’s static outgoing IP address is correct and connected with the portal, turning off your Windows Firewall, and correcting the network settings, you can easily restore seamless transaction processing. Hopefully, this troubleshooting guide has helped you get rid of Sage Pay (Opayo) error 4020. You can also dial +1-844-341-4437 to get instant live assistance.
Also Read:
How To Fix Sage 50 Error 3032?
About The Author
Antonio Garcia
Antonio Garcia writes for Sage Online Solution and helps businesses manage their financial books more effectively. He offers practical advice and solutions that simplify accounting software use, so companies handle their finances with ease and accuracy. With years of experience, Antonio understands what businesses need to succeed. He aims to make accounting less stressful for everyone.
Jun 01, 2026
Jun 01, 2026
Jun 01, 2026
May 22, 2026
May 12, 2026
© Copyright 2026 Sage Online Solution | All Rights Reserved
For US Helpline +1-844-341-4437
For UK Helpline +44-800-810-1881