Prestawood Posted June 27, 2012 Share Posted June 27, 2012 Hello there! I have integrated recently 2Checkout module in my shop.. I'm configured as in readme file description but After payment redirection to https://myshop.com/modules/checkout/validation.php customers gives an error: Hash Mismatch! Please contact the seller directly for assistance.Total: 0 Anyone knows how to solve this problem??? Much appreciated any response... Sincerely, Larry Link to comment Share on other sites More sharing options...
Prestawood Posted June 28, 2012 Author Share Posted June 28, 2012 Huh! Solved!! I used 2Checkout module from Official website.. I mean version from github .. Version 0.7. This version are pretty cool but have some design mismatches with theme and the problem I described... I solved Hash Mismatch! by replacing validation.php from another 2CO module (v.0.4.) I attached this file.. Also design mismatch I changed file and now it looks as in PayPalAPI module.. Also I changed the logo by another that looks better.. If someone has the same problem.. this will help you.. validation.php payment_execution.tpl.zip 1 Link to comment Share on other sites More sharing options...
cchristenson Posted June 30, 2012 Share Posted June 30, 2012 Thank for providing feedback on the module. I will update the design and logo as you suggested. The problem with using the old -v 0.4 validation.php is that it does not validate against the 2Checkout MD5 hash to insure that the total was not changed and it does not validate the Prestashop secure key correctly. From looking at the error message, it appears that the cart object is not being found which can be caused by using the wrong return method. With version 0.7, please use Header Redirect not Direct Return. Please feel free to contact me directly with any problems or questions as I maintain this module. Link to comment Share on other sites More sharing options...
Prestawood Posted July 2, 2012 Author Share Posted July 2, 2012 Thanks for the reply, I'm tested many times and with 0.4 validation.php all is OK.. Thank you so much for the module! 1 Link to comment Share on other sites More sharing options...
RuwanCi Posted February 14, 2016 Share Posted February 14, 2016 i Also have the same issue but that way is not working with me ps version 1.6 2co version is Payments and Gateways 2Checkout Payments v1.1 - by Accept payments with 2Checkout ERROR Hash Mismatch! Please contact the seller directly for assistance.Total: 2.862CO Total: 2.86 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now