Jump to content

iDeal payment option disappearing in only front-end


Madelon

Recommended Posts

Hi all,

 

Hope I'm posting at the right place here. I've searched through the whole forum but didn't find a solution for my problem. There are solutions, right, but they didn't work for my shop.

 

iDeal is not appearing in front-end. In the backoffice it says iDeal is installed, and it is hooked to the right hook. I really think the problem is in this; I can't set a currency for iDeal. If i don't set a currency for other payment mehods , they disappear too.

In the attachment the three views.

 

I'd like to hear what you think of this, and how I could possible fix this

I'm a web developer and fairly new to Prestashop.

Using PrestaShop™ 1.5.2.0 . btw

 

Madelon

post-432866-0-69716700-1352998430_thumb.png

Link to comment
Share on other sites

Just had a quick look at the module - This stands out to me as a potential cause -

 

The Idealcheckoutideal inherits from the PaymentModule class. Within this class it states.

 

 

 


/**
* @param int $id_currency : this parameter is optionnal but on 1.5 version of Prestashop, it will be REQUIRED
* @return Currency
*/

public function getCurrency($current_id_currency = null)
{

 

 

Now im not sure at what stage this will get called but checkout the bankwire module and you will see it has some impact there.

 

Your module (ideal) is doing the following.

 

 

Within the idealcheckoutideal.php file - function __construct()

 

 

// Only EURO's are allowed!
$this->currencies = false;
$this->currencies_mode = 'radio';

 

Try changing it to

 

 

$this->currencies = true;
$this->currencies_mode = 'checkbox';

 

This is taken from the bankwire module.

 

Uninstall and reinstall the module and see if that has any effect.

 

As a note - looks like this module needs updating to Prestashop 1.5.

Link to comment
Share on other sites

  • 2 weeks later...

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...