Jump to content

Issue with 2Checkout module


Recommended Posts

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

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

post-184055-0-33472500-1340925299_thumb.gif

  • Like 1
Link to comment
Share on other sites

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

  • 3 years later...

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.86
2CO Total: 2.86

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...