fixes to invoice updater, ipn