public static function Braintree_TestHelper::createViaTr in Commerce Braintree 7
File
- braintree_php/
tests/ TestHelper.php, line 45
Class
Code
public static function createViaTr($regularParams, $trParams) {
$trData = Braintree_TransparentRedirect::transactionData(array_merge($trParams, array(
"redirectUrl" => "http://www.example.com",
)));
return Braintree_TestHelper::submitTrRequest(TransparentRedirect::url(), $regularParams, $trData);
}