Fix bug in payment view (undefined variable)