public static function Braintree_Configuration::baseUrl in Commerce Braintree 7
returns the base braintree gateway URL based on config values
@access public @static
Parameters
none:
Return value
string braintree gateway URL
2 calls to Braintree_Configuration::baseUrl()
- Braintree_Configuration::merchantUrl in braintree_php/
lib/ Braintree/ Configuration.php - returns the full merchant URL based on config values
- Braintree_ConfigurationTest::testBaseUrl in braintree_php/
tests/ unit/ ConfigurationTest.php
File
- braintree_php/
lib/ Braintree/ Configuration.php, line 193
Class
- Braintree_Configuration
- acts as a registry for config data.
Code
public static function baseUrl() {
return self::protocol() . '://' . self::serverName() . ':' . self::portNumber();
}