You are here

private static function Braintree_CreditCard::_doUpdate in Commerce Braintree 7

sends the update request to the gateway

@ignore

Parameters

string $url:

array $params:

Return value

mixed

2 calls to Braintree_CreditCard::_doUpdate()
Braintree_CreditCard::update in braintree_php/lib/Braintree/CreditCard.php
updates the creditcard record
Braintree_CreditCard::updateFromTransparentRedirect in braintree_php/lib/Braintree/CreditCard.php
update a customer from a TransparentRedirect operation

File

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

Class

Braintree_CreditCard
Creates and manages Braintree CreditCards

Code

private static function _doUpdate($httpVerb, $url, $params) {
  $response = Braintree_Http::$httpVerb($url, $params);
  return self::_verifyGatewayResponse($response);
}