Skip to main content

Kartra Integration

Kartra Integration Why: Automate member account creation and access management based on purchases, cancellations, and refunds in Kartra. This integ...

Written by Ken Truesdale

Platform 2 Guide — This article applies to the new platform. Looking for classic platform docs? Browse the Platform 1 collection.

Why: Automate member account creation and access management based on purchases, cancellations, and refunds in Kartra. This integration saves you time and ensures your members have seamless access to your content.

Navigate: App Station > Settings > Integrations > Kartra

Quick Start

  1. Open App Station and go to Integrations > Kartra.

  2. Click Enable Kartra Integration.

  3. Copy the webhook URL displayed in Member Kitchens.

  4. In Kartra, navigate to Settings > Integrations > My API > Outbound API and create a POST connection to the webhook URL.

  5. Add mappings by entering the product ID and selecting an access level, then click Add Mapping.


Detailed Setup Instructions

1. Enable the Integration

To get started, you need to enable the Kartra integration in your app.

  • Go to App Station and select Integrations.

  • Click on Kartra and then Enable Kartra Integration.

  • You will see a webhook URL; copy this URL for the next step.

2. Configure Kartra

Next, you need to set up the webhook in Kartra.

  • In Kartra, go to Settings and select Integrations.

  • Click on My API and then Outbound API.

  • Create a new POST connection using the webhook URL you copied from Member Kitchens.

  • Ensure that you enable the following events:

    • Purchase

    • Cancellation

    • Refund

3. Add Product Mappings

To ensure that purchases are correctly mapped to access levels in your app, you need to add product mappings.

  • Find the product ID in Kartra:

    1. Navigate to Sales > Products.

    2. Click on the product name to open its edit page.

    3. Copy the numeric ID from the URL after /sales/products/edit/.

Example: For the URL https://app.kartra.com/sales/products/edit/558475#basic_info, the product ID is 558475.

  • Back in Member Kitchens, go to the Kartra Integration page.

  • Enter the product ID and select the corresponding access level.

  • Click Add Mapping to save your settings.

4. Test the Integration

To ensure everything is set up correctly, you can perform a test purchase in Kartra. This will trigger the webhook and allow Member Kitchens to auto-discover the product.

  • After the test purchase, return to the Kartra Integration page in Member Kitchens.

  • Check the mappings to confirm that the product has been discovered and is ready for access level assignment.

5. Manage Access Levels

Once the integration is set up, Member Kitchens will automatically handle member account creation and access management based on the following events:

  • Purchase: A new member is created or updated, and access is granted.

  • Cancellation: Access is revoked if a subscription is canceled.

  • Refund: Access is revoked if a transaction is refunded.

  • Subscription Rebill: Access is confirmed or restored for active subscriptions.

6. View Event Logs

You can monitor the activity of the integration by checking the recent webhook activity log in the Kartra Integration settings. This log provides insights into the events processed and any issues encountered.

Did this answer your question?