Fix error definitions in payment controllers