You are here

public static function Braintree_Transaction::_doCreate in Commerce Braintree 7

sends the create request to the gateway

@ignore

Parameters

var $url:

array $params:

Return value

mixed

3 calls to Braintree_Transaction::_doCreate()
Braintree_Transaction::cloneTransaction in braintree_php/lib/Braintree/Transaction.php
Braintree_Transaction::create in braintree_php/lib/Braintree/Transaction.php
@ignore @access public
Braintree_Transaction::createFromTransparentRedirect in braintree_php/lib/Braintree/Transaction.php
@access public

File

braintree_php/lib/Braintree/Transaction.php, line 591

Class

Braintree_Transaction
Creates and manages transactions

Code

public static function _doCreate($url, $params) {
  $response = Braintree_Http::post($url, $params);
  return self::_verifyGatewayResponse($response);
}