Ok, i'm at the point where i'm recieving the "The transaction failed because of invalid input data." error.
I know that this could be entirely down to the fact that I don't have SSL first. Infact, I know this would cause this error as I have read all 46 pages.
But before I spend money on an SSL I would like to see if the below seems correct:
I have put the below two lines around this middle line which was already in Jose's hsbc.php file:
---------------------------------------------
print "testH=". $cmd;
$ret=exec($cmd, $output);
print "<br>ret=".$ret;
---------------------------------------------
And this puts the below next to the Confirm Order button on the final page before HSBC:
--------------------------------------------------------------------
testH=/user/homepages/xx/x00000000/htdocs/cgi-bin/TestHash.e "xxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxx" "http://www.domain.co.uk/catalog/checkout_process.php" "http://www.domain.co.uk/catalog/hsbc_return.php" "Website Online Store order" "Order 00000-000000" "500" "826" "UK00000000GBP" "1162308247000" "Auth" "cfea243966be934d4a47d7b860dc6d7f" "99 Something Road" "Somewhere" "826" "Somewhereshire" "Firstname" "Surname" "POST CODE" "
[email protected]" "Something Road" "Somewhere" "826" "Somewhereshire" "Firstname" "Surname" "POST CODE" "T" 2>&1
ret=Hash value: yyyyyyyyyyyyyyyyyyyyyyyyyyy=
---------------------------------------------------------------------
Note that I have quite clearly changed several values above to hide data that may be sensitive.
The main thing to note is that they part with a lot of X's matches the Hash key specified in the osCommerce HSBC module admin configuration.
The part with a lot of Y's matches no key I have been given.
So, does anything look correct? Anything look incorrect? Am I insane to be asking this before I have even installed SSL?
Fire away!