static function Braintree_SubscriptionTestHelper::createCreditCard in Commerce Braintree 7
50 calls to Braintree_SubscriptionTestHelper::createCreditCard()
- Braintree_MultipleValueNodeTest::testIn_multipleValues in braintree_php/
tests/ integration/ MultipleValueNodeTest.php - Braintree_MultipleValueNodeTest::testIn_singleValue in braintree_php/
tests/ integration/ MultipleValueNodeTest.php - Braintree_SubscriptionSearchTest::testSearch_billingCyclesRemaing in braintree_php/
tests/ integration/ SubscriptionSearchTest.php - Braintree_SubscriptionSearchTest::testSearch_daysPastDue in braintree_php/
tests/ integration/ SubscriptionSearchTest.php - Braintree_SubscriptionSearchTest::testSearch_inTrialPeriod in braintree_php/
tests/ integration/ SubscriptionSearchTest.php
File
- braintree_php/
tests/ integration/ SubscriptionTestHelper.php, line 53
Class
Code
static function createCreditCard() {
$customer = Braintree_Customer::createNoValidate(array(
'creditCard' => array(
'number' => '5105105105105100',
'expirationDate' => '05/2010',
),
));
return $customer->creditCards[0];
}