You are here

public static function Braintree_Customer::createFromTransparentRedirect in Commerce Braintree 7

create a customer from a TransparentRedirect operation

@access public

Parameters

array $attribs:

Return value

object

6 calls to Braintree_Customer::createFromTransparentRedirect()
Braintree_CustomerTest::testCreateFromTransparentRedirect in braintree_php/tests/integration/CustomerTest.php
Braintree_CustomerTest::testCreateFromTransparentRedirect_withParamsInTrData in braintree_php/tests/integration/CustomerTest.php
Braintree_CustomerTest::testCreateFromTransparentRedirect_withValidationErrors in braintree_php/tests/integration/CustomerTest.php
Braintree_TransparentRedirectTest::testParseAndValidateQueryString_throwsAuthenticationErrorIfBadCredentials in braintree_php/tests/integration/TransparentRedirectTest.php
Braintree_TransparentRedirectTest::testParseAndValidateQueryString_throwsDownForMaintenanceErrorIfDownForMaintenance in braintree_php/tests/integration/TransparentRedirectTest.php

... See full list

File

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

Class

Braintree_Customer
Creates and manages Customers

Code

public static function createFromTransparentRedirect($queryString) {
  trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::confirm", E_USER_NOTICE);
  $params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
  return self::_doCreate('/customers/all/confirm_transparent_redirect_request', array(
    'id' => $params['id'],
  ));
}