Function wc_braintree_generate_client_token
Generates a client token used for setting up the Braintree SDK. The merchant account is passed as an argument, so this method reliably determines which merchant account to use based on the store's currency, the order's currency etc.
Parameters summary
string |
$env = '' |
Return value summary
string
|
string |