==== Quickly identify Billing/Shipping Address mismatch ==== When a customer's billing and shipping address don't match, it can be anything from a gift purchase to straight up fraud. This will put a big red box around it whenever this happens. NOTE: This does not validate the addresses themselves, only that they don't match each other. {{:tutorials:zencartmods:suspiciousinv.gif|}} === admin/invoice.php === Find (line 117) delivery['format_id'], $order->delivery, 1, '', '
'); ?>
replace with delivery['name'] != $order->billing['name']) || ($order->delivery['state'] != $order->billing['state']) || ($order->delivery['city'] != $order->billing['city']) || ($order->delivery['country'] != $order->billing['country']) ) { $boxit = true; } if ($boxit) { print 'style="border:solid 4px #FF0000"'; } ?> > delivery['format_id'], $order->delivery, 1, '', '
'); ?>