si.Originariamente inviato da bubi1
ma se lo chiami tu direttamente l'ipn con il browser - scrive qualcosa nel file di log?
come mi aspettavo non scrive nei punti:
eCodice PHP:foreach ($_POST as $key => $value)
{
$value = urlencode(stripslashes($value));
$req .= "&$key=$value";
fwrite($fi,"sono entrato nel foreach");
}
nel resto del codice siCodice PHP:if (strcmp ($res, "VERIFIED") == 0)
{
fwrite($fi,"sono nel verified");
// check the payment_status is Completed
// check that txn_id has not been previously processed
// check that receiver_email is your Primary PayPal email
// check that payment_amount/payment_currency are correct
// process payment
}
else if (strcmp ($res, "INVALID") == 0)
{
fwrite($fi,"sono nell'invalid");
// log for manual investigation
}

Rispondi quotando