0

An existing site running CT 2.5 and EE 2.7.3 with SagePay (server) has suddenly stopped working on the LIVE server.

Initially I thought it might be due to the recent SagePay API update to v3.0, so I have updated the gateway files provided by the new owners Vector Media Group but still no luck.

The error presented is as follows: "4020 : Information received from an Invalid IP address."

Previously this was working so I know the valid IP's were setup and were ok, so I'm not sure why else this error would be present?

Also, this error appears before getting onto the SagePay server, after submitting the checkout form to go to SagePay it stops and this error shows up.

Any ideas anyone please, I'm stumped at the moment?

To start with I'm looking for ideas without having to update both EE and CT please! Thanks in advance.

1 Answer 1

1

(I'm with Vector; we make CartThrob)

This error is coming directly from SagePay and honestly, is usually exactly what it sounds like: your server is making a request from an IP that's not whitelisted in SagePay's system, so they're rejecting it. Common causes of this include:

  • You're using a VPS or cloud server and the IP has changed
  • You're using a server that has different IP addresses to make outgoing requests than the ones used for DNS (this is common on some cPanel/WHM servers)
  • Your IP has recently changed.

You should definitely consider contacting SagePay to see if they can somehow tell you what IP your requests are coming from so they can be whitelisted.

1
  • Thanks Matt, sorry for delay in reply. I think we are nearly there with fixing this now and it was in fact the IP that had changed on the server. So we are moving the client to another host so that we can assign a new fixed IP for SagePay to use.
    – Wes
    Commented Sep 2, 2015 at 10:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.