transactions are created upon successful braintree charges
added type and status to transactions
described and implemented user#apply_discount