We're getting a communication error response when submitting card details using the SagePay Direct payment method:
Error: Sorry, there was an unexpected error communicating with the payment gateway.
Nothing has changed in respects to the server / EE code and transactions have been working fine since upgrading to 2.10 recently. Logging into SagePay shows that since today transactions aren't even being logged as failed at sagepay; ie they're failing before they even reach sagepay.
I took the measure of upgrading to Store: 2.20 and the error persists.
After uncommenting the exception, the error displayed is:
Fatal error: Uncaught exception 'Guzzle\Http\Exception\CurlException' with message '[curl] 6: Couldn't resolve host 'live.sagepay.com' [url] https://live.sagepay.com/gateway/service/vspdirect-register.vsp' in /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php:338 Stack trace: #0 /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(279): Guzzle\Http\Curl\CurlMulti->isCurlException(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #1 /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(244): Guzzle\Http\Curl\CurlMulti->processResponse(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #2 /var/www/vhosts/domain.com/httpdocs/system/exp in /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php on line 338
So looks like the server can't communicated with sagepay... so, I've done a quick test and it seems cURL is up the swanny on the server. Thanks for your help as always!