Only output payment-mode form if ajax is not enabled.
Update earnings / sales appropriately for each quantities. #1199