Hi Peter,

Originally Posted by
petegraaf
at some point between end of July and yesterday when the shop went live) and transactions were timing out (but still showing up in the VSP Admin screen) so customers were shown the "There is a technical problem contacting the payment gateway" message and the transactions were failing even though they were charged by Protx.
This problem isn't anything to do with the module or Protx as far as I can see but is a problem with your server.
The fact that this problem happened when you switched the shop live should send off alarm bells... the new server clearly isn't working properly!
I'm not sure what the exact problem is but, as you've noted, cURL is failing so your server is somehow unable to talk to, or receive information from, Protx properly.
The debugging to be done for your shop is to determine what is wrong with your server's cURL set up... none of the Protx settings or Zen Cart settings will have any effect, so there's no point wasting any time changing any.
As you can see from the source of the module, there are various options which can be changed for cURL:
PHP Code:
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_DNS_USE_GLOBAL_CACHE, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
You've tried changing the timeout option, so that isn't it. What happens if you disable VERIFYHOST checking? (set it to 0).
It might be best to reply privately about this as this information is probably of no use to anyone else as this is an issue specific to your server.
Hopefully we can get this sorted soon!
All the best...
Conor
Bookmarks