Removed redundant functionality, fixed the typeof case
Removed the redundant code
Fixed the typeof problem
Fixed the beforeValidate method
A minor fix
Better code styling
Removed redundant code
The typeof fix
Better code styling
A minor fix
Payment's beforeValidate call