private static function Braintree_Transaction::create in Commerce Braintree 7
@ignore @access public
Parameters
array $attribs:
Return value
object
3 calls to Braintree_Transaction::create()
- Braintree_Transaction::createNoValidate in braintree_php/
lib/ Braintree/ Transaction.php - @ignore @access public
- Braintree_Transaction::credit in braintree_php/
lib/ Braintree/ Transaction.php - @access public
- Braintree_Transaction::sale in braintree_php/
lib/ Braintree/ Transaction.php - new sale
File
- braintree_php/
lib/ Braintree/ Transaction.php, line 214
Class
- Braintree_Transaction
- Creates and manages transactions
Code
private static function create($attribs) {
Braintree_Util::verifyKeys(self::createSignature(), $attribs);
return self::_doCreate('/transactions', array(
'transaction' => $attribs,
));
}