You are here

public static function Braintree_CreditCard::updateFromTransparentRedirect in Commerce Braintree 7

update a customer from a TransparentRedirect operation

@access public

Parameters

array $attribs:

Return value

object

3 calls to Braintree_CreditCard::updateFromTransparentRedirect()
Braintree_CreditCardTest::testUpdateFromTransparentRedirect in braintree_php/tests/integration/CreditCardTest.php
Braintree_CreditCardTest::testUpdateFromTransparentRedirect_andUpdateExistingBillingAddress in braintree_php/tests/integration/CreditCardTest.php
Braintree_CreditCardTest::testUpdateFromTransparentRedirect_withDefault in braintree_php/tests/integration/CreditCardTest.php

File

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

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

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', '/payment_methods/all/confirm_transparent_redirect_request', array(
    'id' => $params['id'],
  ));
}