Erreur appel Paypal dans facture proforma HTML

3 posts in this topic

Posted · Report post

Bonjour

lorsque je veux éditer avec la nouvelle version 6.1 de peel une facture HTML, j'obtient l'erreur suivante :

Warning: Missing argument 10 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Warning: Missing argument 11 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Warning: Missing argument 12 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Warning: Missing argument 13 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Warning: Missing argument 14 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Warning: Missing argument 15 for getPaypalForm(), called in /homepages/5/d334204221/htdocs/modules/factures/commande_html.php on line 231 and defined in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 28

Notice: Undefined variable: nom_ship in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 42

Notice: Undefined variable: adresse_ship in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 43

Notice: Undefined variable: zip_ship in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 44

Notice: Undefined variable: ville_ship in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 45

Notice: Undefined variable: pays_ship in /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /homepages/5/d334204221/htdocs/modules/paypal/fonctions.php:28) in /homepages/5/d334204221/htdocs/lib/fonctions/display.php on line 1577

ça doit venir de la création du formulaire paypal...

pourriez vous m'aider please ??

Aurai je oublié quelque chose en migrant ?

merci beaucoup

JL

Share this post


: post
Share on other sites

Posted · Report post

Bonsoir,

Il s'agit effectivement d'un problème suite à des modifications dans le formulaire Paypal. Changez la ligne 230 de factures/commande_html.php qui contient déjà l'appel à getPaypalForm par :

' . getPaypalForm($id, $_SESSION['session_langue'], $amount_to_pay, $_SESSION['session_devise']['code'], $commande->email, 1, '', vb($_SESSION['session_utilisateur']['id_utilisateur']), $commande->prenom_ship, $commande->nom_ship, $commande->adresse_ship, $commande->zip_ship, $commande->ville_ship, $commande->pays_ship, $commande->telephone_ship) . '

Cette modification sera mise dans la prochaine version.

Gilles

Share this post


: post
Share on other sites

Posted · Report post

Merci Gilles !! si tot dit, sitot fait !!

je viens de rectifier, ça marche !! merci beaucoup !!

longue vie à peel !!

Share this post


: post
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

Twitter Advisto ecommerce

Facebook PEEL Shopping