| Download | Size | md5 hash |
|---|---|---|
| dibs-6.x-1.x-dev.tar.gz | 21.67 KB | 27e2afd4c6727026472767a429e1a7dd |
| dibs-6.x-1.x-dev.zip | 27.07 KB | edf62629aa19b6cc9aef7a7035cf27a9 |
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.