Prerequisites
Slicker integrates with Braintree via their API. Credentials for this API are created via Braintree’s Control Panel.Create credentials
Follow the official Braintree documentation for creating API keys. In the end you will need to have the following:- Public Key
- Private Key
- Merchant ID
Create integration in Slicker
- Go to Slicker’s new integration page.
- Select
Braintreefrom the list of integrations. - Give the integration a name and description to help you identify it later.
- Enable
Sandbox modeto connect a Braintree sandbox account, or leave it off for production. - Enter the merchant ID and the public/private key pair from the selected environment’s Control Panel.
- Click the
Submitbutton to create the integration.
integration.config.braintreeConfig.sandbox query parameter to true for sandbox or false for production.
Omitting this field defaults to production when creating an integration and preserves the existing environment when updating one.
Troubleshooting
On integration creation, Slicker will attempt to connect to Braintree using the provided API key. If the connection fails, you will see an error message like the one below. Please double-check that the provided credentials match the selected environment, make sure they have the correct permissions, and try again.