You are here

public static function Braintree_TransparentRedirect::createCustomerData in Commerce Braintree 7

returns the trData string for creating a customer.

Parameters

array $params:

Return value

string

7 calls to Braintree_TransparentRedirect::createCustomerData()
Braintree_CustomerTest::createCustomerViaTr in braintree_php/tests/integration/CustomerTest.php
Braintree_TransparentRedirectTest::testCreateCustomerFromTransparentRedirect in braintree_php/tests/integration/TransparentRedirectTest.php
Braintree_TransparentRedirectTest::testData_doesNotClobberDefaultTimezone in braintree_php/tests/unit/TransparentRedirectTest.php
Braintree_TransparentRedirectTest::testData_specifiesArgSeparatorAsAmpersand in braintree_php/tests/unit/TransparentRedirectTest.php
Braintree_TransparentRedirectTest::testParseAndValidateQueryString_throwsAuthenticationErrorIfBadCredentials in braintree_php/tests/integration/TransparentRedirectTest.php

... See full list

File

braintree_php/lib/Braintree/TransparentRedirect.php, line 146

Class

Braintree_TransparentRedirect
Static class providing methods to build Transparent Redirect urls

Code

public static function createCustomerData($params) {
  Braintree_Util::verifyKeys(self::$_createCustomerSignature, $params);
  $params["kind"] = Braintree_TransparentRedirect::CREATE_CUSTOMER;
  return self::_data($params);
}