Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Bugfixes
 
meatdigital
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2008-05-21
Norway
 

Note: The newest version fixes bugs listed here. It is due to release within a week.

Not able to turn of testmode
Open /app/code/community/Meatmedia/Dibs/Block/Dibs.php

Change this:

$fields = array(
            ............
            
'test'                    => $check_test
        
);
to this:
$fields = array(
            ............
            
'test'                    => false
        
);

Use the frontend stores language setting.
Open /app/code/community/Meatmedia/Dibs/Block/Dibs.php

Add a new function:

class Meatmedia_Dibs_Model_Dibs extends Mage_Payment_Model_Method_Abstract
{
............
public function 
getStoreLanguage($language)
{
        $locale 
explode("_"$language);
        
$lang $locale[0];
        if (!
$lang{
            $lang 
"se";
        
}
            
        
if ($lang == "sv"{
            $lang 
"se";
        
}
            
        
return $lang;
}
............

NOTE: As the swedish locale in magento uses “sv_SE”, we had to change it to “se_” as dibs requires it.

Now you have to sign it (Adding the $storeLang):

public function getCheckoutFormFields()
    
{
        
............
        
$order Mage::getModel('sales/order');
        ............
        
$storeLang Mage::getStoreConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_LOCALE$order->getStoreId());

And then:

$fields = array(
            ............
            
'lang'                        => $this->getStoreLanguage($storeLang),
            ............
        );
 
Magento Community Magento Community
Magento Community
Magento Community
 
AnneLise
Sr. Member
 
Avatar
Total Posts:  154
Joined:  2008-09-08
Bergen, Norway
 

Hmm.. fikk det ikke til Ã¥ virke jeg.  Gleder meg til den nye releasen smile
Heia Chriss!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Klarna
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2009-09-24
 

A better fix for Not able to turn of testmode would be
Open /app/code/community/Meatmedia/Dibs/Dibs.php

Change

$check_test $this->isTest();
        if (
$check_test 1{
            $check_test 
true;
        
else {
            $check_test 
false;
        
}

To

$check_test $this->isTest();
        if (
$check_test == 1{
            $check_test 
true;
        
else {
            $check_test 
false;
        
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
jerry_mouse2484
Jr. Member
 
Total Posts:  4
Joined:  2009-12-17
 

I got this issue when I install Dibs. Please help me…

Did not download optional dependencies: magento-core/Mage_Core_Modules, use --alldeps to download automatically
magento-community/Meat_Dibs can optionally use package “magento-core/Mage_Core_Modules” (recommended version 1.0.19870.4)
downloading Meat_Dibs-0.9.6.tgz ...
Starting to download Meat_Dibs-0.9.6.tgz (8,918 bytes)
. . ...done: 8,918 bytes
ERROR: bad md5sum for file F:\AppServ\www\lipslide-magento\app\code\community\Meatmedia\Dibs\etc\config.xml

 
Magento Community Magento Community
Magento Community
Magento Community
 
olesolo
Member
 
Avatar
Total Posts:  35
Joined:  2008-02-19
 

Same install error here.

Did not download optional dependencies: magento-core/Mage_Core_Modules, use --alldeps to download automatically
magento-community/Meat_Dibs can optionally use package “magento-core/Mage_Core_Modules” (recommended version 1.0.19870.4)
downloading Meat_Dibs-0.9.6.tgz ...
Starting to download Meat_Dibs-0.9.6.tgz (8,918 bytes)
. . ...done: 8,918 bytes
ERROR: bad md5sum for file Z:\home\localhost\www\magento\app\code\community\Meatmedia\Dibs\etc\config.xml

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top