21 calls to Braintree_Configuration::environment() in Commerce Braintree 7
- Braintree_Configuration::caFile in braintree_php/
lib/ Braintree/ Configuration.php - sets the physical path for the location of the CA certs
- Braintree_Configuration::serverName in braintree_php/
lib/ Braintree/ Configuration.php - returns gateway server name depending on environment
- Braintree_Configuration::sslOn in braintree_php/
lib/ Braintree/ Configuration.php - returns boolean indicating SSL is on or off for this session, depending on environment
- Braintree_ConfigurationTest::teardown in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testBaseUrl in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testCaFile in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testmerchantUrl in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testPortNumber in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testProtocol in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testServerName in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testSetInvalidEnvironment in braintree_php/
tests/ unit/ ConfigurationTest.php - @expectedException Braintree_Exception_Configuration @expectedExceptionMessage environment needs to be set
- Braintree_ConfigurationTest::testSetValidEnvironment in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testSSLOn in braintree_php/
tests/ unit/ ConfigurationTest.php - Braintree_ConfigurationTest::testValidateEmptyEnvironment in braintree_php/
tests/ unit/ ConfigurationTest.php - @expectedException Braintree_Exception_Configuration @expectedExceptionMessage environment needs to be set
- Braintree_HttpTest::testProductionSSL in braintree_php/
tests/ integration/ HttpTest.php - Braintree_HttpTest::testSandboxSSL in braintree_php/
tests/ integration/ HttpTest.php - CommerceBraintreeCofTest::getCredentials in tests/
commerce_braintree_cof.test - Init Braintree test credentials.
- CommerceBraintreeTest::getCredentials in tests/
commerce_braintree.test - integrationMerchantConfig in braintree_php/
tests/ TestHelper.php - testMerchantConfig in braintree_php/
tests/ TestHelper.php - _commerce_braintree_init_credentials in ./
commerce_braintree.module - Include necessary API files from braintree and init the credentials.