Process Payment for only Real Invoices/Receipts that have Owing > 0
Also Multi Domain Fix for invoice sql