You are here

public static function Braintree_CreditCard::_doCreate in Commerce Braintree 7

sends the create request to the gateway

@ignore

Parameters

string $url:

array $params:

Return value

mixed

2 calls to Braintree_CreditCard::_doCreate()
Braintree_CreditCard::create in braintree_php/lib/Braintree/CreditCard.php
Braintree_CreditCard::createFromTransparentRedirect in braintree_php/lib/Braintree/CreditCard.php
create a customer from a TransparentRedirect operation

File

braintree_php/lib/Braintree/CreditCard.php, line 487

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

Code

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