Problem

  • In the payment provider backend, the message "50001184:SHA Mismatch" appears.
  • The settings for SHA-IN and SHA-OUT are already correct.

Solution #1

If version 15.06.08 is used and the dropdown menu "Mode" in the Payment Services settings in Magento is set to "Prod" or "Test" the wrong Gateway URLs are used.


To resolve this, the module should be updated to the latest version.


Solution #2

If the problem only affects some Stores / StoreViews (e.g. German is working, but English is not), and the Stores / StoreViews have different Domains (shop.de and shop.com), the cause might be that the wrong Store URL is used for the hash-calucalation.


To resolve this:

  • Edit the file app/code/community/Netresearch/OPS/controllers/PaymentController.php
  • Look for this code line:
    $aliasStoreId = $storeId;

     

  • and replace it with this code:
    $aliasStoreId = Mage::app()->getStore()->getId();

Solution #3

Check this FAQ article, section #2 and make sure that the parameters are enabled / disabled as described there.