Added basic actual processing of payments.