Bonjour,
Après avoir debugué le script en m'envoyant un mail à chaque étape du script il s'avère que cela s'arrête après ce if...
if (strcmp ($res, "VERIFIED") == 0) {
Une idée ?
Merci
J'ai fait une sorte de log pour regarder ce qu'il se passait.
2013-01-04 20:48:13 : ipn.php - === ipn.php version v1.1-0. Début. ===
2013-01-04 20:48:13 : ipn.php - req = >cmd=_notify-validate&mc_gross=5.00&protection_eligibility=Ineligible&address_status=unconfirmed&payer_id=SAERZYNAFP38E&tax=0.00&address_street=Av.+de+la+Pelouse%2C+87648672+Mayet&payment_date=11%3A48%3A09+Jan+04%2C+2013+PST&payment_status=Completed&charset=windows-1252&address_zip=75002&first_name=anthony&mc_fee=0.42&address_country_code=FR&address_name=anthony+slyckers¬ify_version=3.7&custom=340&payer_status=verified&business=vend_1357239819_biz%40gmail.com&address_country=France&address_city=Paris&quantity=1&verify_sign=AZCYyipqdBaXLc.zVzTdztNll-kTAjukIhbIVp8Qqu7UeWSNGvdaFRue&payer_email=achat_1357239473_per%40gmail.com&txn_id=9JL62581HU6317159&payment_type=instant&last_name=slyckers&address_state=Alsace&receiver_email=vend_1357239819_biz%40gmail.com&payment_fee=&receiver_id=UCAZJK4ZUJS9J&txn_type=web_accept&item_name=Abonnements&mc_currency=EUR&item_number=&residence_country=FR&test_ipn=1&handling_amount=0.00&transaction_subject=340&payment_gross=&shipping=0.00
2013-01-04 20:48:13 : ipn.php - lecture des data du Post
2013-01-04 20:48:13 : ipn.php - Paiement status = >Completed<
2013-01-04 20:48:13 : ipn.php - Paiement date = >11:48:09 Jan 04, 2013 PST<
2013-01-04 20:48:13 : ipn.php - Buyer Last Name = >slyckers<
2013-01-04 20:48:13 : ipn.php - Buyer First Name = >anthony<
2013-01-04 20:48:13 : ipn.php - Paiement amount = >5.00<
2013-01-04 20:48:13 : ipn.php - Paiement Currency = >EUR<
2013-01-04 20:48:13 : ipn.php - Paypal Transaction ID = >9JL62581HU6317159<
2013-01-04 20:48:13 : ipn.php - Vendor email = >vend_1357239819_biz@gmail.com<
2013-01-04 20:48:13 : ipn.php - Buyer email = >achat_1357239473_per@gmail.com<
2013-01-04 20:48:13 : ipn.php - Refund reason (if any) = ><
2013-01-04 20:48:13 : ipn.php - Pending reason (if any) = ><
2013-01-04 20:48:13 : ipn.php - SQL unique ID = >340<
2013-01-04 20:48:13 : ipn.php - ouverture socket réel SSL
2013-01-04 20:48:14 : ipn.php - res = HTTP/1.1 200 OK
2013-01-04 20:48:14 : ipn.php - res = Date: Fri, 04 Jan 2013 19:48:14 GMT
2013-01-04 20:48:15 : ipn.php - res = Server: Apache
2013-01-04 20:48:15 : ipn.php - res = X-Frame-Options: SAMEORIGIN
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=9nE12w6YLyxWtZGg5OBx5IAPOcBSv6_qhLVYd_ySNo4gDPM8YnTRLGKLzJiVROck_wUeeU5JnwMM8Rvmu3vp6QylHZ1sv4eallMFchH30gRVJqP1utw5xThVHsa%7cHp789EvVC4LrStF_LnNrjM9vU0HeTBklTLdPLEzcLnAHvH8b_8ssWfKDOBOV1PgGCi_J-G%7cSMwXQ4kZdeIpnmgVi3jes4HkeSkiVSY2Hk2GjkPcPbynB90ayQuGGrrtoAWa6BGW5NQfKm%7c1357328894; domain=.paypal.com; path=/; Secure; HttpOnly
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: cookie_check=yes; expires=Mon, 02-Jan-2023 19:48:14 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: navlns=0.0; expires=Thu, 30-Dec-2032 19:48:14 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: Apache=10.73.8.134.1357328894534193; path=/; expires=Sun, 28-Dec-42 19:48:14 GMT
2013-01-04 20:48:15 : ipn.php - res = Vary: Accept-Encoding
2013-01-04 20:48:15 : ipn.php - res = Strict-Transport-Security: max-age=14400
2013-01-04 20:48:15 : ipn.php - res = Connection: close
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: X-PP-SILOVER=773171ffd3ead328a3fd20d7a015ffd5863af7429974993dd69e6a4c8f549f5b9e95be448d7252811404caa6a760a5ea3236d2bbad9ba6ca8a0ec9ffc26954df078f10ae93c52237820849dd92ef35d57fa1b8fe3149a236a7b7ab88744c7d3cf44eb1e5282da2f3b26d2306256c3ecf
2013-01-04 20:48:15 : ipn.php - res = Set-Cookie: Apache=10.73.8.37.1357328894526258; path=/; expires=Sun, 28-Dec-42 19:48:14 GMT
2013-01-04 20:48:15 : ipn.php - res = Strict-Transport-Security: max-age=14400
2013-01-04 20:48:15 : ipn.php - res = Content-Type: text/html; charset=UTF-8
2013-01-04 20:48:15 : ipn.php - res =
2013-01-04 20:48:15 : ipn.php - res = INVALID
Voilà ou cela s'arrête, si tu as une idée ce serait super sympa car là cela fait 2 jours que je bataille a vrai dire.
Merci