Braintree provides services to help merchants accept online and mobile credit card processing.
How to integrate Braintree with Kartra
You will need a Braintree account to complete this guide. Visit Braintree's website to create one.
Create Kartra integration
- Go to Settings > Integrations
- Click + Integration in the top right
- In the Providers window, select Braintree and click Next
The following details are needed from your Braintree account to complete the integration:
- Merchant ID
- Public key
- Private key
- Tokenization key
Log in to your Braintree account:
- Click the gear icon in the top right corner of your account dashboard to access the menu
- Select API > Keys
- Locate API Keys and click View. If you do not have a key, click Generate a New API Key to create one first.
- Copy the Public key, the Private key, and the Merchant ID
- Go back to your Kartra account and paste each entry into the corresponding field in the integration screen
- Locate Tokenization Keys. If you do not have a key, click Generate a New Tokenization Key to create one.
- Copy the Tokenization key
- Go back to Kartra and paste it into the corresponding field in the integration screen
Learn more about Braintree API Keys: https://developer.paypal.com/braintree/articles/control-panel/important-gateway-credentials
In your Kartra account:
- Review the fields in the Braintree integration screen to ensure they are all correct
- Click Create in the top right corner to save the integration
- On the success screen, copy the Instant Payment Notification (IPN) URL to add to Braintree
Add the Kartra IPN webhook to Braintree
Go back to your Braintree account:
- Click the gear icon in the top right corner of your account dashboard to access the menu
- Select API > Webhooks
- Click Create New Webhook
- In the Destination URL field, paste the Kartra IPN URL:
https://app.kartra.com/notifications/braintree
- Under Notifications, select all options under the Subscriptions subheader. No other notifications will be displayed in your Kartra account.
- Click Create Webhook at the bottom of the page to save it.