Ersetze folgendes:

PHP-Code:
$buchungs_id create_code(14);
kontobuchung ('+'$value$userid);
buchungsliste ($buchungs_id$value"PayPal Einzahlung (".$credit.$currency.")"$userid); 
mit:

PHP-Code:
$buchungs_id create_code(14);
paypalez ('+'$value$userid);
buchungsliste ($buchungs_id$value"PayPal Einzahlung (".$credit.$currency.")"$userid); 
und füge in der funktions.lib.php an beliebiger Stelle folgendes ein:

PHP-Code:
// Bonuslosetransaktionen
function paypalez ($art,$trans_menge,$fuer) {
global 
$db_prefix;
    
db_query("UPDATE ".$db_prefix."_kontodaten SET [COLOR="Red"]`bkontostand` = `bkontostand`[/COLOR] ".$art." ".$trans_menge." WHERE uid=".$fuer."");


Dann müsste es ohne Probleme funktionieren.

Gruss webkle



PS: Falls das Feld für die Bonuslose anders als "bkontostand" bei Dir heisst, einfach anpassen