Fix clearTimeout, better logging in payments.js (bug 882814)