fixing up braintree error state for transactions