Brewer #

'."\n"; ?>

'."\n"; $Upd_Pay=TRUE; break; case 'C': echo 'Payment Processing Cancelled.
'."\n"; $Upd_Pay=TRUE; break; case 'I': echo 'Invalid Payment Information.
'."\n"; break; case 'R': echo 'Payment Rejected.
'."\n"; $Upd_Pay=TRUE; break; default: echo 'Unknown Action Code on Payment
'."\n"; } if ($Upd_Pay) { $query='select pay_stat from payments where brewer="'.$BrewerNo.'" and seq="'.$PaySeq.'"'; $pay_res=mysqli_query($db, $query); $pay_row=mysqli_fetch_row($pay_res); $PayStat=$pay_row[0]; $query='update payments set pay_stat="'.$Action.'" where brewer="'.$BrewerNo.'" and seq="'.$PaySeq.'"'; mysqli_query($db, $query); $query='insert into changelog values(null, null, "'.$Key.'", "payments", "C", "pay_stat", "'.$BrewerNo.':'.$PaySeq.'", "'.$PayStat.'", "'.$Action.'")'; mysqli_query($db, $query); } ?>