Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

andrew_mcd

Archived
  • Posts

    9
  • Joined

  • Last visited

Profile Information

andrew_mcd's Achievements

  1. I'm developing the site for a customer :( I don't know if HSBC have supplied a 'securesecret' to the account holder. I've got the client ID beginning Uk and ending GBP I've also got a 26 character hash key which I've entered into the os commerce contribution as the hash key, and also saved in the cgi-bin in a text file Is that what you mean by a 'securesecret' ?
  2. If I look at the server logs when I try and process a live transaction, I am gettting no errors on the server, just HSBC returning an error 10 code and they are unable to explain where the data is invalid that they're receving If I run the windows testhash.exe locally it generates the same hash key repeatedly, but to get it to work I need to create a ss.txt file containing my client ID So I'm completely stumped..I've checked both the data, and the variable names being passed to hsbc, and everything is the correct case with seemingly valid data being submitted I'v even stripped out the shipping info to help with debugging they're end, but they can't tell me whats wrong with the data being submitted.
  3. Running the test hash program I get: ERROR: You must store your SharedSecret in local file ss.txt. I don't even get the chance to generate a hash key, so its not looking promising. Anyone know what the 'SharedSecret' is ?
  4. Can anyone offer some advice on whats happening here ? ive go the payment module configured and i go to the checkout and all goes well untill i post to hsbc the response i get back from the cpi servlet is 'the transaction failed due to invalid data' ? the post and data look fine to me ..... <form name="checkout_confirmation" action="https://www.cpi.hsbc.com/servlet" method="post"> <br> <input type="hidden" name="CpiDirectResultUrl" value="https://www.thehardwareworks.co.uk/catalog/checkout_process.php"> <input type="hidden" name="CpiReturnUrl" value="https://www.thehardwareworks.co.uk/catalog/hsbc_return.php"> <input type="hidden" name="OrderDesc" value="The Hardware Works order"> <input type="hidden" name="OrderId" value="04134-093124156"> <input type="hidden" name="PurchaseAmount" value="1814"> <input type="hidden" name="PurchaseCurrency" value="826"> <input type="hidden" name="StorefrontId" value="UKxxxxxxxxGBP"> <input type="hidden" name="TimeStamp" value="1084566684000"> <input type="hidden" name="TransactionType" value="Auth"> <input type="hidden" name="MerchantData" value="286b03ed38640b8c9a1d844ddd4b6821"> <input type="hidden" name="Mode" value="P"> <input type="hidden" name="OrderHash" value="yjgF+GlhDfFpLR9IIpPUGeqTZiQ="> <input type="image" src="includes/languages/english/images/buttons/button_confirm_order.gif" border="0" alt="Confirm Order" title=" Confirm Order "> </form> I've taken out the shipping and billing info, so thats obviously not the problem, and the c code is generating a hash sucessfully as shown above. My real nagging fear is that HSBC may have supplied a duff hash key, if that is so getting them to admit could be awkward I guess. Every time I ask them to check the hash key, they only seem to check against what there record of the hash key should be, rather than the validity of the supplied hash key itself. i.e. If they supply a dodgy key obviously no amount of tinkering will make your're site work :o I've been go bakc and forth to HSBC all this week and all they can say is that something in the data must be wrong, but they cannot identify anything that is currently wrong with the data I'm passing over...which is why I'm questing how often they supply dodgy hash keys. One person on this board has complained of having a bad key, has anyone else suffered this fate or was that a one off ?
  5. Not being able to contact HSBC through working on another contract during the day, is there a definitive answer regarding the need for SSL hosting. Ive got the hash key working, but no SSL as of yet. I try to do a test payment and get transferred to HSBC's secure payment side, and get returned back to checkout_payment.php with the message 'The transaction failed because the Storefront was configured incorrectly' I presume this is due to the lack of SSL ?
×
×
  • Create New...