Setup
Please follow the common Braintree instructions to get set up with Braintree. After you set up your Braintree account, configure the following settings in your merchant account so you can use all features:- Enable 3D Secure (if required by your region or card type)
- Configure payment method preferences
- Set up webhook endpoints for transaction notifications
Capabilities
Supported countries
Supported currencies
Integration
To accept card payments with Braintree, use one of Gr4vy’s client-side integration methods to securely collect card details. Due to PCI compliance requirements, card data should never be sent directly to your servers. You can integrate using:- Embed - A pre-built, customizable payment form that handles the complete payment flow
- Secure Fields - Embed card input fields for building custom payment forms while maintaining PCI compliance
- Mobile SDKs - Native SDKs for iOS, Android, React Native, and other platforms
payment_service_id parameter.
Testing
For testing in sandbox environments, you can use standard test card numbers. Braintree supports industry-standard test cards for simulating different transaction scenarios: Successful transactions:- Visa:
4111 1111 1111 1111 - Mastercard:
5555 5555 5555 4444 - American Express:
3782 822463 10005