7. Common errors

DIBS Payment Window

Problem: HMAC code not matching

This issue may arise when using the DIBS Payment Window module.

Solution:

Go to: System -> Configuration -> Web -> Session Validation Settings

And set 'Use SID on Frontend' to 'No':

Problem: Calling DIBS Payment Window throws error “A technical error has  occurred”

Solution:

There can be various reasons and solutions to this message:


A: Your agreement with DIBS is not yet in a live state, but the test mode setting in the module is set to false/no. Your agreement will be set live when you have signed an acquirer agreement and a site inspection has been made by DIBS in your webshop. We will notify you in writing when the acquirer agreement has been tested. 
For more information regarding the site inspection and steps needed before your agreement is put in live mode, please see the following steps 
http://tech.dibs.dk/10_step_guide/site_inspection/
http://tech.dibs.dk/10_step_guide/go_ahead/

B: Your agreement with DIBS is put in live mode, but the test mode setting is still activated in the module.  If you have received confirmation from us that your agreement with DIBS has been set live, the test mode setting in the module must be deactivated in order to carry out live payments.  Check that test mode is set to false/no in the module
The error message will show the following information if test mode is activated in the module, but deactivated in DIBS: 
The following fields had validation errors:
currency - There are no payment types available in test matching that currency

C: Your agreement with DIBS does not support the currency. Check that you have signed an acquirer agreement for the currency. If not, please contact the acquirer to add the currency to your agreement. The acquirer will relay this information to DIBS, but please note that adding currencies might take a few days. 

Please contact DIBS support for additional information regarding the status of your agreement and available currencies.

D: The module is configured with incorrect HMAC value.  The error message will include the following information:  The following fields had validation errors:  MAC - did not match calculated value.


Check that the values of HMAC key  in the module corresponds to the exact same value generated in the DIBS Administration for the Merchant ID you are using. The key is found in the DIBS Admin à Integration à HMAC

Flexwin

Problem: Calling FlexWin returns “No paytype(s)! Missing test parameter?”

 

Solution:

There can be various reasons and solutions to this message:

A: Your agreement with DIBS is not yet in a live state, but the test mode setting in the module is set to false/no. Your agreement will be set live when you have signed an acquirer agreement and a site inspection has been made by DIBS in your webshop. We will notify you in writing when the acquirer agreement has been tested. 
For more information regarding the site inspection and steps needed before your agreement is put in live mode, click here.


B: Your agreement with DIBS is put in live mode, but the test mode setting is still activated in the module. If you have received confirmation from us that your agreement with DIBS has been set live, the test mode setting in the module must be deactivated in order to carry out live payments.  Check that test mode is set to false/no in the module.

C: Your agreement with DIBS does not support the currency. Check that you have signed an acquirer agreement for the currency. If not, please contact the acquirer to add the currency to your agreement. The acquirer will relay this information to DIBS, but please note that adding currencies might take a few days. 

Please contact DIBS support for additional information regarding the status of your agreement and available currencies.

Problem:  Calling FlexWin returns “Md5Key mismatch!” error message.


Solution:

Check that the values of the MD5 key 1 and 2 in the module corresponds to the exact same values generated in the DIBS Administration for the Merchant ID you are using. The keys are found in the DIBS Admin à Integration à MD5 Keys

Problem: Calling FlexWin returns “no md5key!”


Solution:

Check that the values of the MD5 key 1 and 2 in the module corresponds to the exact same values generated in the DIBS Administration for the Merchant ID you are using. The keys are found in the DIBS Admin à Integration à MD5 Keys.

Should you wish to deactivate the MD5 key control (not recommended), you can do so in the DIBS Administration.  The MD5 keys must also be removed from the module settings. Please notice that any spaces in the MD5 key 1 or 2 fields is interpreted as content.

Problem: After the payment has been registered in DIBS, Magento throws “A fatal error has occured” No orderid was returned from DIBS payment gateway

Solution:

This error in Magento is thrown if the return values in the DIBS Administration are not configured. Access your DIBS Administration à Integration à Return values and activate all available values.

Do you have a question or need help?
Follow us
DIBS Payment Services
Stockholm +46 (0)8-527 525 00
Göteborg +46 031-600 800
København +45 7020 3077
Oslo +47 21 55 44 00