public static function Braintree_Transaction::createFromTransparentRedirect in Commerce Braintree 7
@access public
Parameters
array $attribs:
Return value
object
4 calls to Braintree_Transaction::createFromTransparentRedirect()
- Braintree_TransactionTest::testCreateFromTransparentRedirect in braintree_php/
tests/ integration/ TransactionTest.php - Braintree_TransactionTest::testCreateFromTransparentRedirectWithInvalidParams in braintree_php/
tests/ integration/ TransactionTest.php - Braintree_TransactionTest::testCreateFromTransparentRedirect_withParamsInTrData in braintree_php/
tests/ integration/ TransactionTest.php - Braintree_TransactionTest::testCreateFromTransparentRedirect_withValidationErrors in braintree_php/
tests/ integration/ TransactionTest.php
File
- braintree_php/
lib/ Braintree/ Transaction.php, line 239
Class
- Braintree_Transaction
- Creates and manages transactions
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('/transactions/all/confirm_transparent_redirect_request', array(
'id' => $params['id'],
));
}