Salut Beaster,
Pour le compte Oui j'ai regler comme ça :
IPN Status : Enabled
Allow Encrypted Return URL IPN: Disabled
Alert URL: http://www.egainmoney.com/ap/Ipnalert.php
Security Code: Mon code sécurité
Test Mode: Enabled
Le formulaire j'en est qu'un celui de la commande client du message au dessus. et pour ton script j'ai avec mes données donc :
/**//////////////////////////////////////////////////////////////////////////////////
/**/// EDIT BOX //
/**//////////////////////////////////////////////////////////////////////////////////
/**/ $test=1; // Test activation
/**/ $debug=1; // Change this to 1 for debug mode (Turn off after and delete debug.txt)
/**/ $debug_file="debug.txt"; // Debug file name (chmod to 777)
/**/ $encrypted_alerurl_pass="Mon code sécurité"; // Encrypted AlertURL pass.
/**/ $server="localhost"; // Server name (Ex: localhost)
/**/ $db_name="ma base"; // Name of the DB
/**/ $db_username="moi"; // username of the db
/**/ $db_password="mon passe"; // password of the db
/**//////////////////////////////////////////////////////////////////////////////////
quand je reviens sur mon site apres le paiements je renvois mon client sur la page success_alertpay_5.php
You will now be redirected back to your merchant's site.
http://beta.egainmoney.info/ap/success_alertpay_5.php
in 9 seconds.
c'est la que je fait appel au fichier Ipnalert.php par un include mais j'ai ce message qui s'affiche
Unauthorised Access
et le debug. txt indique bien qu'il ne récupére rien
DEBUG MODE IS ACTIVATED!
***********************************************
Loading database ... ... Database loaded!
***********************************************
Loading POST vars ... ... ERROR! There was a communication problem between AlertPay and this script. Vars not loaded!
***********************************************
All vars and now sanitized ($$$ are normal):
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
***********************************************
Autentificating Alertpay ... ... Checking if the security code matches ... ... ERROR! The security code from alertpay () and the one you added in the script (Mon code sécurité) does not match!
***********************************************
Loading the GOBAL variable code ... ... All globals where loaded.
***********************************************
Repport was sucessfuly ended.
Comme j'ai pas trop compris je pense avoir fait une erreur mais je vois pas ou ? en plus j'ai vérrifier plusieurs fois et généré un nouveau code de sécurité mais ca refuse de le prendre
merci de votre aide