Modified the entire client side code for the constant payment treatment.
The user interface looks fine, but the control logic might not be completely correct yet.