Fix some little bugs and preferences in payments processing.