function createCreditCardViaTr($regularParams, $trParams)
 {
     $trData = Braintree_TransparentRedirect::createCreditCardData(array_merge($trParams, array("redirectUrl" => "http://www.example.com")));
     return Braintree_TestHelper::submitTrRequest(Braintree_CreditCard::createCreditCardUrl(), $regularParams, $trData);
 }