---
title: Stripe and PublishPress Cart
description: Connect Stripe to PublishPress Cart in test and live mode, install the webhook, and check that payments work.
url: "https://publishpress.com/knowledge-base/connect-publishpress-cart-to-stripe/"
updated: "2026-11-29"
category: PublishPress Cart / Products
---

# Stripe and PublishPress Cart

Stripe lets you take card payments in [PublishPress Cart](https://publishpress.com/links/cart). You connect your Stripe account, install a webhook so Stripe can tell Cart about payments, and then enable Stripe at checkout.

This integration is available in [PublishPress Cart](https://publishpress.com/cart/) Free and Pro.

---

## Before you start

You need:

- [PublishPress Cart](https://publishpress.com/links/cart) Free or Pro installed and active.
- A Stripe account.

Cart works with Stripe in test mode and live mode. Start with test mode, so no real payments are processed.

---

## Connect your Stripe account

1. In WordPress, go to **Cart → Settings**.
2. Open the **Payment Methods** tab. It lists Stripe, PayPal, Square, Mollie and Razorpay.
3. On the Stripe row, click **Manage Stripe**.
4. Choose **Test** to start.
5. Click **Connect with Stripe**. Cart sends you to stripe.com.
6. Log in to Stripe if you're asked.
7. Scroll down and click **Connect**.
8. Wait for the loading screen. Stripe returns you to the **Payment Methods** tab.
9. Click **Manage Stripe** again. You see the message "Stripe account connected successfully".

![Payment Methods tab listing Stripe, PayPal, Square, Mollie and Razorpay](https://publishpress.com/wp-content/uploads/2026/11/stripe-payment-methods.png)

![Manage Stripe window with the Connect with Stripe button](https://publishpress.com/wp-content/uploads/2026/11/stripe-manage-connect.png)

![Manage Stripe window showing the Stripe account connected message and the webhook step](https://publishpress.com/wp-content/uploads/2026/11/stripe-connected-webhook.png)

---

## Install the webhook

Cart needs a webhook so Stripe can report payments back to your site.

1. In **Manage Stripe**, click the link to create the key in Stripe. Stripe opens on the page where you set up the webhook.
2. Enter a name, such as `My Stripe webhook`.
3. In the **Filter resources** box, search for `webhook`, and set **Webhook Endpoints** to **Write**.
4. Click **Create key**.
5. Click **Click to copy** to copy the key.
6. Go back to your site and paste the key into the webhook box.
7. Click **Install webhook**.
8. When the screen closes, go back to the **Payment Methods** tab and open **Manage Stripe** again. You see the message "Webhook is active and the signing secret is saved".

![Stripe create restricted API key page with Webhook Endpoints set to Write](https://publishpress.com/wp-content/uploads/2026/11/stripe-create-webhook-key.png)

![Manage Stripe window showing the webhook is active and Stripe is ready](https://publishpress.com/wp-content/uploads/2026/11/stripe-webhook-active.png)

---

## Enable Stripe

1. In **Manage Stripe**, click **Save Stripe** and enable Stripe.
2. Click **Save changes**.

![Payment Methods tab with Stripe enabled in test mode](https://publishpress.com/wp-content/uploads/2026/11/stripe-enabled-test-mode.png)

Cart shows a message at the top of the screen that test mode is active for Stripe.

---

## Test a payment

1. Go to **Cart → Products**.
2. Open a product on the front of your site.
3. At checkout, check that Stripe is available as a payment method.
4. Enter test card details and complete the order.
5. Open your Stripe dashboard and check that the payment appears.

No real payment is processed in test mode. Use this to check that checkout works the way you want your customers to see it.

---

## Connect Stripe in live mode

When your test works, connect live mode the same way. Keep test mode connected too. It's useful for debugging a problem, or for turning off live checkout for a moment.

1. Go to **Cart → Settings → Payment Methods**.
2. On the Stripe row, click **Manage Stripe**.
3. Choose **Live**.
4. Click **Connect with Stripe**, then click **Connect** on the Stripe page.
5. Create the live webhook as you did for test mode, and paste it into the webhook box.
6. Click **Install webhook**.
7. Enable Stripe in live mode and click **Save changes**.

![Payment Methods tab with Stripe enabled in live mode](https://publishpress.com/wp-content/uploads/2026/11/stripe-live-mode.png)

For the live webhook, Stripe may ask you to log in again or to enter a code sent to your email. Stripe does this because you are taking real payments.

When setup is complete, the Stripe row on the **Payment Methods** tab shows a green live mode message.

---

## Video guide to Stripe and PublishPress Cart

[How to Connect Your Stripe Account to PublishPress Cart](https://www.youtube.com/watch?v=3racj_iL8NU)

[How to Connect Your Stripe Account to PublishPress Cart](https://www.youtube.com/embed/3racj_iL8NU?feature=oembed)
