public static function Braintree_Customer::updateFromTransparentRedirect in Commerce Braintree 7
update a customer from a TransparentRedirect operation
@access public
Parameters
array $attribs:
Return value
object
4 calls to Braintree_Customer::updateFromTransparentRedirect()
- Braintree_CustomerTest::testUpdateFromTransparentRedirect in braintree_php/
tests/ integration/ CustomerTest.php - Braintree_CustomerTest::testUpdateFromTransparentRedirect_withParamsInTrData in braintree_php/
tests/ integration/ CustomerTest.php - Braintree_CustomerTest::testUpdateFromTransparentRedirect_withUpdateExisting in braintree_php/
tests/ integration/ CustomerTest.php - Braintree_CustomerTest::testUpdateFromTransparentRedirect_withValidationErrors in braintree_php/
tests/ integration/ CustomerTest.php
File
- braintree_php/
lib/ Braintree/ Customer.php, line 375
Class
- Braintree_Customer
- Creates and manages Customers
Code
public static function updateFromTransparentRedirect($queryString) {
trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::confirm", E_USER_NOTICE);
$params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
return self::_doUpdate('post', '/customers/all/confirm_transparent_redirect_request', array(
'id' => $params['id'],
));
}