Downloads

Download tar.gz 23.44 KB
MD5: b373445960e2a3c62f9d9893fdcce89c
SHA-1: 57e24f05196538c74e5d9f2cf115584ab78c3cdb
SHA-256: 6cb52c1bea3814a7b03b7a96b77906dc02c5038d88c238c48fe4ddd94786806e
Download zip 28.95 KB
MD5: 712709d367977c6e2b2e3c6613d2472e
SHA-1: 7bfdde7e87301aa91c34fed2ae0999bc45b4be93
SHA-256: 603809f3611635f3b09058d20522ebf1d005a4da77110e3e9639db613216a78c

Release notes

Initial dev release.

2009-08-12:
Added a params field to the transactions table. This field contains a serialized array of extra params needed by the module/delta that implements the DIBS API. It is possible in the $data array sent to the function dibs_payment_prepare() to provide this params array, see the dibs_example.module.

The two fields api_module and api_delta are now sent as hidden fields to DIBS. The info can be used in the FlexWindow decorator file if we for example want some things on the implementation in module X and some other design elements shown in module Y.

2009-08-16:
1. A new hook has been implemented: hook_dibsapi_form_alter(). It makes it possible to alter the form array used on the DIBS redirect page. Therefore has the hook_dibsapi.php example file been renamed to hooks.php and now includes info about both hooks. This hook could for example be used to sent extra data to the DIBS FlexWindow. In the FlexWindow can the data be outputtet using . On FDM.dk are we using this hook to sent a JSON encoded array to the FlexWindow, containing a number of steps in the payment flow. The steps are different from module/delta to module/delta and therefore could we not just hardcode them in the decorator file. We are rendering the steps in the FlexWindow using Javascript.

2. Some more fields has been added to the DIBS form array:
- ordlinesy: contains the number of order line rows made with the ordlinex_x fields.
- ordlinesx: contains the number of order line columns made with the ordlinex_x fields.
- priceinfo_keys: contains all priceinfo field names.
- delivery_keys: contains all delivery field names.
These extra fields will make it easier to show information in the FlexWindow using JavaScript.

Created by: beltofte
Created on: 2 Aug 2009 at 15:12 UTC
Last updated: 12 Mar 2011 at 19:17 UTC

Other releases