Drupal übercart

DIBS has created a plug-in-module for Drupal 7 Übercart that offers you a smoother integration.

Before starting to use our module we recommend you to contact our sales department. By doing so, you can ensure that you get the right payment methods, currencies, and know which of our payment windows that best suits your business.

In order to go live with your webshop you will also need an agreement with an acquirer, who takes care of collecting and depositing your money. DIBS has partnered with a number of acquirers who offer a wide variety of options and we will provide the help and guidance you need in order to get started.

You are welcome to sign up for a free demo account http://www.dibspayment.com/demo-signup allowing you to prepare your technical deployment and performing test payments using our test card data.

Guide

Module last updated 2012-03-28
Module tested on Drupal übercart versions 2.4, 3.0
DIBS module names and versions DIBS PW and mobile: 4.1.0
Flexwin 3.0.1
Changelog DIBS Payment Window  
Changelog DIBS Flexwin  

 

Features Module Admin Comments

Authorization

NA

No

 

Capture

NA

Yes

 

Instant capture

NA

No

 

Multi capture

NA

Yes

 

Multi refund

NA

Yes

 

Part capture

NA

Yes

 

Part refund

NA

Yes

 

Refund

NA

Yes

 

Ticket

No

No

 
 

Return values

Start by loging in to DIBS Administration system. Click on “Integration” and “Return Values”. Then check all boxes as bellow and click on “save settings”.

Make sure that all return values are activated and save the settings.

Activate your HMAC Key (DIBS Payment Window)

Click on “Integration” and “HMAC key”. Mark “Perform HMAC checksum control” and click “Update”. The HMAC key is to be used later on in the process.

Activate MD5 control (DIBS Flexwin)

Click on “Integration” and “MD5 keys”. Mark “Perform MD5 control.” And click “Update”. The MD5 Key is to be used later on in the process.

Step 1

Unzip downloaded package: ubercart30_drupal7.zip, you will find 2 folders inside containing :

  • DIBS_Flexwin
  • DIBS_payment_window_and_mobile_payment_ window.

Choose module which you want to install.

?Step 2

Sign in as Administrator to admin area of your site: http://yoursite.com/admin

?Step 3

Go to the "Modules" section on administration panal on top of the page

?Step 4

Click on the "+ Install new module"

?Step 5

Type the URL to the module or choose module package to upload

?Step 6

On success message click on the link “Enable newly added modules”.

?Step 7

Click on the "Save configuration" button

?Step 8

If you see a "Some required modules must be enabled" notice, click on "Continue" to install module dependencies

?Step 9

You should see "The configuration options have been saved" message when it has been a successful installation

Step 1

Sign in as Administrator to admin area of your site: http://yoursite.com/admin

Step 2

Go to the Store section on administration panel on top of the page

Step 3

Click on the "Payment settings" link below the "Configuration" section

Step 4

Choose DIBS module to configure

Step 4.1 - DIBS Payment Window

Insert HMAC code thtat you received from DIBS admin

Step 4.2 - Flexwin

Insert MD5 information received from DIBS admin

Step 7

Save settings

We recommend performing test transactions before your shop goes Live. In our toolbox you can find test information for your own test. When you see that it works with the test cards, you can disable test mode for the payment module and perform transactions with real cards. We would also like to recommend you to test transactions with the different currencies that you want to be activated.

When this works, and you can track the payments in DIBS Administration, the technical integration is done.

On our techsite you will also find logos and more information about what your site needs to show in order to follow rules and regulations from your acquiring partner.

When you have been through the steps above you will be set to go Live!

DIBS Payment Window

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.

 

Help and contact

Please sign up for technical updates

- no sales buzz here!

Check your interests :

Do you have 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