public static function Braintree_CreditCard::createSignature in Commerce Braintree 7
3 calls to Braintree_CreditCard::createSignature()
- Braintree_CreditCard::create in braintree_php/
lib/ Braintree/ CreditCard.php - Braintree_Customer::createSignature in braintree_php/
lib/ Braintree/ Customer.php - creates a full array signature of a valid create request
- Braintree_TransparentRedirect::init in braintree_php/
lib/ Braintree/ TransparentRedirect.php - create signatures for different call types @ignore
File
- braintree_php/
lib/ Braintree/ CreditCard.php, line 449
Class
- Braintree_CreditCard
- Creates and manages Braintree CreditCards
Code
public static function createSignature() {
$options = self::baseOptions();
$options[] = "failOnDuplicatePaymentMethod";
$signature = self::baseSignature($options);
$signature[] = 'customerId';
return $signature;
}