Braintree provides services to help merchants accept online and mobile credit card processing. You will need to have a Braintree account to integrate it with Kartra. You can join braintreepayments.com.

Go to Integrations in your Kartra account and click the three dots under the "Braintree" logo. Select + New integration.

Braintree integration

The following details are needed from your Braintree account to complete the integration:

  1. Merchant ID
  2. Public key
  3. Private key
  4. Tokenization key

Integration Braintree with Kartra

Log in to your Braintree account:

  1. Click the gear icon in the top right corner of your account dashboard to access the menu
  2. Select API > Keys

    Braintree interface showing API and Tokenization keys
  3. 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
  4. 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

In your Kartra account:

  1. Review the fields in the Braintree integration screen to ensure they are all correct
  2. Click Create in the top right corner to save the integration
  3. 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:

  1. Click the gear icon in the top right corner of your account dashboard to access the menu
  2. Select API > Webhooks
  3. 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.

Add a Kartra IPN to Braintree as a webhook