public static function Braintree_CreditCard::createFromTransparentRedirect in Commerce Braintree 7
create a customer from a TransparentRedirect operation
@access public
Parameters
array $attribs:
Return value
object
2 calls to Braintree_CreditCard::createFromTransparentRedirect()
- Braintree_CreditCardTest::testCreateFromTransparentRedirect in braintree_php/
tests/ integration/ CreditCardTest.php - Braintree_CreditCardTest::testCreateFromTransparentRedirect_withDefault in braintree_php/
tests/ integration/ CreditCardTest.php
File
- braintree_php/
lib/ Braintree/ CreditCard.php, line 108
Class
- Braintree_CreditCard
- Creates and manages Braintree CreditCards
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('/payment_methods/all/confirm_transparent_redirect_request', array(
'id' => $params['id'],
));
}