We're attempting to use the SagePay Server functionality inside Opencart, when making a purchase via this route (and selecting PayPal), we are getting this error response:
Status=INVALID StatusDetail= Cannot match the MD5 Hash. Order might be tampered with.
This is occurring at line 346 in /catalog/controller/payment/sagepay_server.php
Note, the transaction is still actually successful - but it's just the user is not returned back properly to the site. The screen the user sees states:
Server Error 5006: Unable to redirect to Vendor's web site. The vendor failed to provide a RedirectionURL.
Has anybody came across this error before? There is a lot of information about the 5006 error, but it seems the route of our issue is the MD5 Hash not being matched.
Any help is greatly appreciated!