You are here

public static function Braintree_Configuration::merchantPath in Commerce Braintree 7

sets the merchant path based on merchant ID

@access protected @static

Parameters

none:

Return value

string merchant path uri

2 calls to Braintree_Configuration::merchantPath()
Braintree_Configuration::merchantUrl in braintree_php/lib/Braintree/Configuration.php
returns the full merchant URL based on config values
Braintree_ConfigurationTest::testMerchantPath in braintree_php/tests/unit/ConfigurationTest.php

File

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

Class

Braintree_Configuration
acts as a registry for config data.

Code

public static function merchantPath() {
  return '/merchants/' . self::merchantId();
}