I am using IPN Paypal script to automate my transactions, but I get the following error:
Dump array error in my ipn log
Is there something wrong with my code?
$updateOrder = DB::Executa("UPDATE site_donations SET ultima_alteracao = '".time()."', transaction_code = '".$tid."', status = '".$finalStatus."', status_real = '".$status."' WHERE protocolo = '".$ref."' LIMIT 1");
if (!$updateOrder) {
saveLog("Não foi possível atualizar o status da transação! #1", 1);
exit;
}
CodePudding user response:
Try to remove LIMIT 1 at the end
CodePudding user response:
Thanks for the quick answer, I tried removing LIMIT 1 but that did not help.
I still keep getting
Dump Array error