Connect Paystack to Kartra

Sell your Kartra courses and memberships in Rands using Paystack

Kartra doesn't support local South African payment processors. CheckoutJoy bridges this gap by connecting Paystack to Kartra, so you can sell courses and memberships in Rands with payments going directly to your Paystack account.

What You'll Build

A checkout popup on your Kartra landing page that:

  • Accepts Rand payments via Paystack
  • Automatically creates leads in Kartra with custom tags
  • Triggers Kartra automations to grant membership access
  • Never takes customers away from your site

Prerequisites

  • A Kartra account with an existing membership or product
  • A Paystack account connected to CheckoutJoy
  • A CheckoutJoy account

Step 1: Connect Kartra to CheckoutJoy

  1. In CheckoutJoy, go to Settings → Integrations
  2. Select Kartra
  3. You'll need your API Key and API Password from Kartra

Get Your Kartra API Credentials

  1. In Kartra, go to Integrations (main menu)
  2. Click API → My API
  3. Copy your API Key and API Password
  4. Paste both into CheckoutJoy and save

Step 2: Set Up Kartra Tag and Automation

Create a Tag

  1. In Kartra, go to Communications → Leads → Tags
  2. Create a new tag (e.g., "Fitness Membership Purchased")

Create an Automation

  1. Go to Communications → Advanced Automations
  2. Create a new automation:
    • If: Lead is assigned tag → select your tag
    • Then: Grant access to membership → select your membership and access level
  3. Save the automation

You can extend this automation to subscribe leads to email lists, trigger sequences, or any other Kartra action.

Step 3: Create a CheckoutJoy Product

  1. Go to Products → Add Product
  2. Select Kartra Product
  3. Name your product
  4. Set the Kartra Activation Tag to the tag you created
  5. Configure pricing:
    • Select ZAR as currency
    • Set price and billing type (one-time, subscription, etc.)

When customers purchase this product, they're tagged in Kartra, which triggers your automation.

Step 4: Create a Checkout Widget

  1. Go to Checkouts → Widgets → New Widget
  2. Name your widget
  3. Select your Kartra product
  4. Set your Thank You Page URL (a page on your Kartra site)
  5. Under Payment Methods, enable Paystack
  6. Configure form fields as needed

Set Up Popup Trigger

For this integration, we'll use a popup that triggers when customers click your call-to-action button:

  1. Go to Appearance tab
  2. Select Popup display mode
  3. Under Popup Trigger, select "Use an existing element on the page"
  4. For Button Selector, enter the exact button text (e.g., "Enroll Now")

Kartra doesn't support HTML ID tags on buttons, so use the button text as your selector.

Step 5: Embed on Your Kartra Page

  1. In CheckoutJoy, go to Embed tab
  2. Click the Kartra section and copy the code snippet
  3. In Kartra, open your landing page editor
  4. Click the gear icon (settings) on the right
  5. Select Edit Source Code
  6. Paste the code snippet at the top
  7. Save

Your widget only needs to be added once per page. When visitors click your "Enroll Now" button, the checkout popup appears.

How It Works

  1. Customer clicks your call-to-action button on the Kartra page
  2. CheckoutJoy popup appears with the checkout form
  3. Customer completes payment through Paystack
  4. Lead is created in Kartra with your activation tag
  5. Kartra automation triggers and grants membership access
  6. Customer is redirected to your thank you page

Verification

After a test purchase, verify in Kartra:

  • Leads: New lead created with your tag assigned
  • Memberships: Lead has access to the membership

In Paystack, you'll see the transaction in your dashboard.