You are here

public static function Braintree_Customer::_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_Customer::_doCreate()
Braintree_Customer::create in braintree_php/lib/Braintree/Customer.php
Creates a customer using the given +attributes+. If <tt>:id</tt> is not passed, the gateway will generate it.
Braintree_Customer::createFromTransparentRedirect in braintree_php/lib/Braintree/Customer.php
create a customer from a TransparentRedirect operation

File

braintree_php/lib/Braintree/Customer.php, line 475

Class

Braintree_Customer
Creates and manages Customers

Code

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