• The log shows the message "NCERROR" ... "50001111"
  • In the payment provider backoffice, the error "unknown order/1/s/" shows up.

Solution 1:

Check these points:

  • Password for the API-user does not exceed 16 characters.
  • PSPID is case-sensitive.
  • All these values must be identical in Magento and the payment provider backoffice!

Solution 2:

Please make sure that the parameters "ECOM_BILLTO..." and "ECOM_SHIPTO..." are not enabled in the payment provider backoffice. These might cause problems during transmission. See also this FAQ article.

Solution 3:

Try disabling the option "Submit extra parameters" in Magento in "Payment services". Those parameters are only needed for Fraud Detection.

Solution 4:

In rare cases the webserver might replace the &-character by & which leads to the problem that the payment provider cannot regognize the parameters correctly.

To resolve this, please edit the file /app/code/community/Netresearch/OPS/Model/Api/Directlink.php around line 47 as follows:

Change this code section

$http->write(Zend_Http_Client::POST, $url, '1.1', array(), http_build_query($params));

to this: 

$http->write(Zend_Http_Client::POST, $url, '1.1', array(), http_build_query($params, null, '&'));

Solution 5:

If the problem only occurs when special characters are present (e.g. umlauts in the name or address), it might be caused by different encoding in Magento and at the payment provider. Try changing the Frontend Gateway URL from this

to this