Sign in to follow this  
Followers 0

BUG PAYPAL

5 posts in this topic

Posted · Report post

Bonjour dans /modules/paypal/nok.php en 5.3 il y a cette requette :

mysql_query("UPDATE peel_commandes SET statut = '6' WHERE id = '".intval(vb($_GET['id']))."'"); (passe en annulé la commande)

Bizarement elle n'est pas prise en compte en cas d'incident sur Paypal.

Ca serait pratique de connaitre les commandes Paypal avec un incident en creant un statut "incident paypal" "99" par exemple dans la base peel_commandes et status_commandes

Donc de ne pas etre obligé de visualiser l'interface paypal pour finalement s'appercevoir qu'elle n'a pas ete enregistrée et comble du bonheur generer un mail a l'admin l'avertissant de cet incident.

Cordialement,

David

Share this post


: post
Share on other sites

Posted · Report post

Remplacer par

mysql_query("UPDATE peel_commandes SET id_statut_paiement = '6' WHERE id = '".intval(vb($_GET['id']))."'");

Share this post


: post
Share on other sites

Posted · Report post

c'est parfait merci.

David

Share this post


: post
Share on other sites

Posted · Report post

je suppose qu'il faut faire la même modification dans ok.php ?

Share this post


: post
Share on other sites

Posted · Report post

bonjour,

Je pense que oui ....

On peut meme ajouter une fonction alerte mail si besoin ....

Cordialement,

David

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
Sign in to follow this  
Followers 0

Twitter Advisto ecommerce

Facebook PEEL Shopping