Jump to content

bug module hipay


pppplus

Recommended Posts

prestashop 1.7.2.4 (module hipay 1.0.7).

J'ai les messages d'erreurs suivants :

    Warning à la ligne 1070 du fichier /home/kitchen/domains/cuisine-top.fr/public_html/modules/hipay_professional/hipay_professional.php
    [2] Illegal string offset 'EUR'

    Notice à la ligne 1070 du fichier /home/kitchen/domains/cuisine-top.fr/public_html/modules/hipay_professional/hipay_professional.php
    [8] Array to string conversion


C'est une erreur PHP, lignes 1064 et 1065 :
            // init dynamic values by currency
            $selectedCurrenciesProd = '';
            $selectedCurrenciesSandbox = '';

Ce sont des tableaux, donc il faut initialiser comme ça :

            // init dynamic values by currency
            $selectedCurrenciesProd = array();
            $selectedCurrenciesSandbox = array();

 


Ce bug existe depuis plusieurs version du module.
Déjà signalé à hipay il y a plusieurs mois sur une version précédente.

Resignalé ce matin.

Je le mets là en plus, pour peut-être plus d'efficacité.

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