WebService::Braintree::ClientToken
This class generates the client token needed by client-side SDKs, such as Mobile and Javascript.
This takes a hashref of parameters and returns the client token created by Braintree. Unlike all other interfaces, this one does NOT return an object. Instead, just the token string is returned.
WebService::Braintree::ClientToken->generate({ key1 => 'value1', key2 => 'value2', });
This will default to the DEFAULT_VERSION of 2.
None. Please see "generate()" for more information.
To install WebService::Braintree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Braintree
CPAN shell
perl -MCPAN -e shell install WebService::Braintree
For more information on module installation, please visit the detailed CPAN module installation guide.