Integration via API is in the process of being deprecated. After July 11, 2024, a new integration process will be available to all users on a rolling basis. See Payments: Stripe for setup instructions.
Stripe is a payment processor that can provide secure credit card processing for your Kartra checkout forms.
How to integrate Stripe with Kartra
You will need a Stripe account to complete this guide. Visit Stripe's website to create an account.
Get Stripe API keys
- Log in to your Stripe account
- If needed, activate your account. Accounts in test mode cannot process real credit card transactions.
- Go to Developers > API keys
- Locate the Publishable key and the Secret key
- Keep this window open. You will need to copy and paste these values into Kartra to complete the integration.
Create Kartra integration
- Go to Integrations
- Tip: Use the drop-down menu in the top right to filter by Payment integrations or search for Stripe.
- Click the three dots to open the menu on any Stripe tile and select + Create integration
- A green checkmark on the integration tile means at least one integration is already active for the service. You can add more than one.
- In the New payment gateway window, enter the Publishable key and the Secret key from your Stripe account.
- Double-check to ensure that each key is entered in the matching field.
- Click Create to save the configuration
- The next screen prompts you to add a Kartra URL for Stripe’s instant payment notification (IPN) service. Do this by adding a Webhook endpoint to Stripe (see next section in this guide).
Add a Kartra endpoint to Stripe
Adding a Kartra endpoint to your Stripe account creates a conversation between the two systems. The endpoint is configured to “listen to” things that happen in Stripe (such as a successful or failed payment) so it can tell Kartra about them. This allows Kartra to show transaction records for events that happen in Stripe.
Add Stripe webhook
- In Developers > Webhooks, click Add an endpoint
- In the Endpoint URL field, enter
https://app.kartra.com/notifications/stripe
- Under Listen to:
- Select Events on your account
- Click + Select events
- Tick Select all events, then click Add events
- Click Add endpoint to save