Hi,
Originally Posted by
shippingmanager
The solution I've used elsewhere is to add the following line towards the top of the script that processes the callback from Protx
$crypt = str_replace(" ", "+", $_REQUEST['crypt']);
Thanks but the module already uses the following code in a helper method:
PHP Code:
// Fix plus/space conversion issue
$scrambled = str_replace(" ", "+", $scrambled);
where $scrambled is the value of $_GET['crypt']
I wish it was a simple problem with the program logic but it does appear to be a server/network issue. The only way to identify otherwise would be to record every transaction going out and the response coming back.
However, the module displays an error message if any error occurs... if the data can't be decoded the user is alerted to the problem and told to contact the shop immediately (via a handy link to the contact us page).
(I like to cover all situations possible in any software I write ;) ).
Thanks very much for the input though. As I said above, I only wish it had been a magic solution but I'm afraid it looks like server/network problems... something no-one wants to hear but a warning which must be heeded in this case! :)
All the best...
Conor
Ceon
Bookmarks