Finished braintree implementation