You are here

public static function Braintree_Configuration::merchantUrl in Commerce Braintree 7

returns the full merchant URL based on config values

@access public @static

Parameters

none:

Return value

string merchant URL

10 calls to Braintree_Configuration::merchantUrl()
Braintree_ConfigurationTest::testmerchantUrl in braintree_php/tests/unit/ConfigurationTest.php
Braintree_CreditCard::createCreditCardUrl in braintree_php/lib/Braintree/CreditCard.php
@access public
Braintree_CreditCard::updateCreditCardUrl in braintree_php/lib/Braintree/CreditCard.php
@access public
Braintree_Customer::createCustomerUrl in braintree_php/lib/Braintree/Customer.php
@access public
Braintree_Customer::updateCustomerUrl in braintree_php/lib/Braintree/Customer.php
@access public

... See full list

File

braintree_php/lib/Braintree/Configuration.php, line 179

Class

Braintree_Configuration
acts as a registry for config data.

Code

public static function merchantUrl() {
  return self::baseUrl() . self::merchantPath();
}