protected function CommerceBraintreeTest::getCredentials in Commerce Braintree 7.3
Same name and namespace in other branches
- 7 tests/commerce_braintree.test \CommerceBraintreeTest::getCredentials()
- 7.2 tests/commerce_braintree.test \CommerceBraintreeTest::getCredentials()
1 call to CommerceBraintreeTest::getCredentials()
- CommerceBraintreeTest::createTrDataInfo in tests/
commerce_braintree.test - Return an array with credit card info.
File
- tests/
commerce_braintree.test, line 68 - Functional tests for the commerce payment module user interface.
Class
- CommerceBraintreeTest
- Test payment user interface.
Code
protected function getCredentials() {
// Include Braintree API.
libraries_load('braintree_php');
Braintree_Configuration::environment('sandbox');
Braintree_Configuration::merchantId('y37hv7xmv9tqspcz');
Braintree_Configuration::publicKey('25sz2yrhy4nr8vj7');
Braintree_Configuration::privateKey('90907493a55d78ffdccaf415a3226f25');
}