Das Problem ist, ich muss ja irgendwie sagen das die Anfrage nicht zu meinem System gehört
Ich kann aber auch Paypal einfach eine Okay zurück geben das wird das Problem aber nur halb lösen.
Fehlerlogs bekommst du trotzdem aber es passiert nur einmal.
if (!$donation || !$donation->donationID) {
try {
throw new SystemException('request not validate');
}
catch (SystemException $ex) {
$ex->getExceptionID(); //Log Exception
}
echo "OK";
exit;
}
Folgende Zeile einfügen, die vorherige sah so aus
if (!$donation || !$donation->donationID) {
throw new SystemException('request not validated');
}
In der Datei wcf/lib/action/PayPalDonationCompleteAction.class.php