showDialog("An error occurred (" + error.getClass() + "): " + error.getMessage());
}
private void performReset() {
mAuthorization = null;
mCustomerId = Settings.getCustomerId(this);
<BUG>Fragment paymentButton = getFragmentManager().findFragmentByTag(PaymentButton.TAG);
if (paymentButton != null) {
getFragmentManager().beginTransaction().remove(paymentButton).commit();
}</BUG>
if (mBraintreeFragment != null) {

showDialog("An error occurred (" + error.getClass() + "): " + error.getMessage());
}
private void performReset() {
mAuthorization = null;
mCustomerId = Settings.getCustomerId(this);
if (mBraintreeFragment != null) {
