Jump to content

[solved] Module BANKWIRE


Recommended Posts

Hello,

 

We use Prestashop V.1.5.4.1. There is a problem with the module BANKWIRE. When I click on that payment can see completely blank page (Firefox) or Error (Chrome) - attached to the IMG. Previously, the module worked flawlessly.

 

Regards,

post-532179-0-14900000-1369140134_thumb.jpg

Link to comment
Share on other sites

Thank you very much eTiendas.co!

 

I received this error:

Fatal error: Call to undefined method BankWire::checkCurrency() in /home/www/domain.com/modules/bankwire/controllers/front/payment.php on line 43

 

and other warning

 

Warning: Function addCSS() is deprecated in /home/www/ewangelizacja.com.pl/modules/blockadvertmulti/blockadvertmulti.php on line 260 in /home/www/domain.com/classes/Tools.php on line 1845

 

Best regards,

Link to comment
Share on other sites

I use latest PrestaShop™ 1.5.4.1.

 

I did deactivate the module blockadvertmulti, no warning.

 

But still there is:

 

Fatal error: Call to undefined method BankWire::checkCurrency() in /home/www/domain.com/modules/bankwire/controllers/front/payment.php on line 43

 

Appearance that the problem is not the module blockadvertmulti but module bankwire.

 

Regards,

Link to comment
Share on other sites

have you got in the bankwire.php (root dir of the module) this function:

 

public function checkCurrency($cart)
{
 $currency_order = new Currency($cart->id_currency);
 $currencies_module = $this->getCurrency($cart->id_currency);
 if (is_array($currencies_module))
  foreach ($currencies_module as $currency_module)
   if ($currency_order->id == $currency_module['id_currency'])
 return true;
 return false;
}

 

?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...