Cartthrob Sagepay Error

Using Sagepay Gateway to Build and Sort Gateway Integration. It works fine until we move on to processing actual payments and we get an error:

HTTP status code: 500 HTTP status message: The request was unsuccessful due to an unexpected state encountered by the server. Error code: 5006 Error Description: Cannot redirect to the provider's website. The provider was unable to provide a URL redirect.

The return URL is set in the cartthrob order form for return = "checkout / order-completed"

I edited extload.php and changed the settings according to our MSM setting. I also asked the guys from CT if they have any recommendations , but SO is also a good place.

+4
source share
2 answers

The problem is the extload.php file, which is inside / themes / third _party / cartthrob / lib

Since we use MSM, we needed to map the variables correctly, and we were wrong, this is $ EE_absolute_server_url, where it was the actual URL when it should have the server path.

0
source

Have you looked through the Apache error logs to see if there is more detailed information there?

In addition, I had some similar symptoms when mod_evasive was installed on my server and was blocked too much. You can try temporarily disabling mod_evasive for testing, or at least weaken it a little.

This article may help. http://library.linode.com/web-servers/apache/mod-evasive

+2
source

Source: https://habr.com/ru/post/1444508/


All Articles