Standard client-side implementation
Important
Braintree's JavaScript v4 SDK doesn't support Card Fields. Card Fields is a mobile-specific credit card payment system, available for client-side integration on Android v5 and iOS v7 only.
Braintree offers an SAQ A compliant solution to process credit cards called Hosted Fields. The benefits of this hosted solution include:
SAQ A compliant
Creating your own payment form using your existing styles and layout
Customizing the behavior and experience of your checkout
Localizing and translating your checkout
To get started, see the Hosted Fields guide. Direct card tokenization is available as an alternative to Hosted Fields, but isn't SAQ A compliant.