Jump to content

URGENT : Frais de port gratuite et problème module paypal prestashop 1.5.6


Recommended Posts

Bonjour,

J'ai un gros problème avec un projet Prestashop 1.5.6 .

Je perd le transporteur lors du processus de commande. Tout se passe bien jusqu’à l'étape 5 (paiement). A la page suivante de l'étape 5 (ex: paiement par cheque ou autre page du site) apparait en une serie de warning PHP toujours sur les 2 mm ligne de code 2340 et 2403:

[b]Warning[/b]: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php[/b] on line [b]2375[/b]

[b]Warning[/b]: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php[/b] on line [b]2341[/b]
A partir de ce moment la:

  • Les frais de ports tombent à 0€
  • plus aucune opération sur la panier ne marche et toute opération déclenche des erreurs prestashop en popup.

Voici la ligne de code : 

foreach ($delivery_option as $id_address => $key)

 

Pour ce foreach j'ai essager de les fixer avec un test $delivery_option

if($delivery_option ){

foreach

...

}

Aussi j'ai un autre problème au niveau du paiement paypal

Warning: PDO::query() [function.PDO-query]: SQLSTATE[HY093]: Invalid parameter number: mixed named and positional parameters in /httpdocs/classes/db/DbPDO.php on line 91

Warning: PDO::query() [function.PDO-query]: SQLSTATE[HY093]: Invalid parameter number: mixed named and positional parameters in /httpdocs/classes/db/DbPDO.php on line 91

Warning: Invalid argument supplied for foreach() in httpdocs/classes/Cart.php on line 2375

Warning: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php on line 2341

Warning: Invalid argument supplied for foreach() in httpdocs/classes/Cart.php on line 2375

Warning: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php on line 2341

Warning: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php on line 2375

Warning: Invalid argument supplied for foreach() in /httpdocs/classes/Cart.php on line 2341


Ce qui est affiché pour le client :

Error occurred:

Veuillez contacter le marchant:

PayPal response:

CHECKOUTSTATUS -> PaymentActionNotInitiated

..............

à la fin

Cannot update existing cart

 

 

SVP j'ai vraiment besoin d'aide.

Merci.

Edited by Soufiane (see edit history)
Link to comment
Share on other sites

  • 5 months 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...