Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message "client.getVersion is not a function" while using Braintree in Braintree-Web could be caused by a few reasons such as:

  1. Incorrect configuration: The Braintree client may not be configured properly, resulting in the error message.

  2. Outdated Braintree SDK: The Braintree SDK may be outdated, causing issues with the getVersion function.

  3. JavaScript errors: There may be other JavaScript errors on the page causing the Braintree code to fail.

To resolve the issue, one can try updating the Braintree SDK to the latest version, double-check the configuration settings, debug the JavaScript code on the page, and check for any conflicts with other JavaScript libraries.