Stripe lets you take card payments in PublishPress 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 Free and Pro.
Before you start #
You need:
- PublishPress 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 #
- In WordPress, go to Cart → Settings.
- Open the Payment Methods tab. It lists Stripe, PayPal, Square, Mollie and Razorpay.
- On the Stripe row, click Manage Stripe.
- Choose Test to start.
- Click Connect with Stripe. Cart sends you to stripe.com.
- Log in to Stripe if you’re asked.
- Scroll down and click Connect.
- Wait for the loading screen. Stripe returns you to the Payment Methods tab.
- Click Manage Stripe again. You see the message “Stripe account connected successfully”.



Install the webhook #
Cart needs a webhook so Stripe can report payments back to your site.
- In Manage Stripe, click the link to create the key in Stripe. Stripe opens on the page where you set up the webhook.
- Enter a name, such as
My Stripe webhook. - In the Filter resources box, search for
webhook, and set Webhook Endpoints to Write. - Click Create key.
- Click Click to copy to copy the key.
- Go back to your site and paste the key into the webhook box.
- Click Install webhook.
- 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”.


Enable Stripe #
- In Manage Stripe, click Save Stripe and enable Stripe.
- Click Save changes.

Cart shows a message at the top of the screen that test mode is active for Stripe.
Test a payment #
- Go to Cart → Products.
- Open a product on the front of your site.
- At checkout, check that Stripe is available as a payment method.
- Enter test card details and complete the order.
- 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.
- Go to Cart → Settings → Payment Methods.
- On the Stripe row, click Manage Stripe.
- Choose Live.
- Click Connect with Stripe, then click Connect on the Stripe page.
- Create the live webhook as you did for test mode, and paste it into the webhook box.
- Click Install webhook.
- Enable Stripe in live mode and click Save changes.

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
