[WIP] Preauthorize payment

console.log wouldn't be such a show stopper (that way, it's easy to add breakpoints through browser's debugger :)