Connect Stripe to WooCommerce (2026)

8 min read

What you’ll have at the end

The Stripe extension installed on your WooCommerce store and connected to your Stripe account, with a test card payment checked in test mode.

This guide stops after the test. No real card is charged in test mode.

Before you start

You’ll need

  • A WooCommerce store on WordPress, with a WordPress login that can install plugins and change WooCommerce settings
  • A business based in one of Stripe's supported countries (WooCommerce's help says countries where Stripe is in Preview, such as India and Indonesia, aren't supported)
  • A store that loads over HTTPS with an SSL certificate, and that can be reached from the internet
  • A Stripe account you can log in to

What it costs. WooCommerce's help says there are no setup costs or monthly fees for the Stripe extension, and that Stripe alone sets the fee for each transaction. Test payments in test mode charge no real card.

WooCommerce's help lists these requirements for the Stripe extension: - Your business is based in one of Stripe's supported countries. - Countries where Stripe is in "Preview" aren't supported. WooCommerce's page names India and Indonesia, and Stripe's global availability page marks both as Preview. If you're in India, the related guide on connecting Razorpay to WooCommerce may suit you instead. - PHP, WordPress and WooCommerce are on recent versions. - Your site has an SSL certificate and is reached over HTTPS.

The WordPress.org listing for the plugin lists India among its countries, which differs from WooCommerce's help. Please check the current position with Stripe or WooCommerce before you rely on it.

WooCommerce's help says you need a Stripe account. It says you can create one during the connection, but this guide assumes you already have one. WooCommerce's help says logging in to Stripe before you connect makes the connection easier.

Stripe's connection here is a sign-in, so there are no API keys to copy for this route. WooCommerce's help says that when you first connect, both live mode and test mode are connected together.

You'll move between WooCommerce and Stripe. Each step's heading names the tool it happens in: WooCommerce for steps 1 to 6 and 8 to 15, and Stripe for steps 7 and 16.

Following steps from somewhere else? You’re welcome to bring them here.

Steps

  1. 1. WooCommerce: check whether the extension is already installed

    Please log in to your WordPress admin. Go to Plugins > Installed Plugins.

    Look in the list for "WooCommerce Stripe Gateway". WooCommerce's help says that if it's already there, you can skip to step 5.

  2. 2. WooCommerce: go to Plugins > Add New and search

    Go to Plugins > Add New and type "WooCommerce Stripe Gateway" into the search box.

    WooCommerce's help says to find the "WooCommerce Stripe Gateway" plugin by WooCommerce in the results. The WordPress.org listing shows it as "WooCommerce Stripe Payment Gateway".

  3. 3. WooCommerce: click Install Now

    Click Install Now next to the plugin.

  4. 4. WooCommerce: click Activate

    WooCommerce's help says the Install Now button changes to Activate once the plugin is installed. Please click Activate.

  5. 5. WooCommerce: go to WooCommerce > Settings > Payments and open Stripe

    WooCommerce's help says to go to WooCommerce > Settings > Payments and choose Stripe to get started.

    Then click Complete setup for the Stripe payment method.

  6. 6. WooCommerce: click Create or connect an account

    Click Create or connect an account.

    WooCommerce's help says the Create or connect a test account button should only be used if you want to connect a test-only Stripe account. Please use the other button.

    WooCommerce's help says you'll be redirected to connect.stripe.com. If you see an "An issue occurred generating a connection to Stripe" message instead, please see "If something looks different".

  7. 7. Stripe: connect your existing Stripe account

    Now please switch to Stripe.

    On connect.stripe.com, WooCommerce's help says you can connect to an existing Stripe account or create a new one. Please follow Stripe's screens to connect your existing account.

    If Stripe asks whether to "Re-use this business to create a new account", WooCommerce's help says your Stripe account is already connected to a third-party platform. It says you must first disconnect it from the Installed Apps settings page in the Stripe dashboard.

    WooCommerce's help says that if you have a problem in Stripe's own sign-up flow or dashboard, such as business verification, you should contact Stripe Support.

  8. 8. WooCommerce: check you are back on your WordPress admin

    Now please go back to WooCommerce.

    WooCommerce's help says that once you've connected, you're redirected back to the WordPress admin dashboard.

  9. 9. WooCommerce: check the statuses in Account details

    In the Account details section, WooCommerce's help says the statuses of Payment, Payout, Webhook and Sync should all be green and show "Enabled".

    WooCommerce's help says that if Payment or Payout isn't "Enabled", Stripe may have restricted your payments or payouts, and you'll need to look in the Stripe dashboard for more information.

  10. 10. WooCommerce: click Configure connection and look at the Live and Test tabs

    Click Configure connection. WooCommerce's help says that when the extension is properly connected, the Account status is "Connected" and the Webhooks status is "Configured".

    Please look at both the Live tab and the Test tab. WooCommerce's help says it expects each to show these statuses.

  11. 11. WooCommerce: go to WooCommerce > Settings > Payments > Stripe > Settings and check Enable Stripe

    In the General section, check that Enable Stripe is ticked. WooCommerce's help says this setting controls whether the Stripe payment methods are shown at checkout.

  12. 12. WooCommerce: tick Enable test mode and click Save Changes

    In the General section, tick Enable test mode. Scroll to the bottom of the page and click Save Changes.

    WooCommerce's help says the test mode setting is disabled if your site isn't connected in test mode yet.

  13. 13. WooCommerce: add a product to the cart and go to checkout

    Please open your store as a customer. Go to your shop page, add a product to your cart, and go to the checkout page.

    Please do not go on if you're not sure test mode is saved. Stripe's docs say the Stripe Services Agreement prohibits testing in live mode using real payment method details.

  14. 14. WooCommerce: enter a Stripe test card and click Place order

    Please use a Stripe test card and no real card. Stripe's docs suggest the card number 4242 4242 4242 4242, a valid future date such as 12/34, any three-digit CVC, and any value for the other form fields.

    Click Place order. WooCommerce's help says that if the payment succeeds, you're redirected to the "Order received" page just as if the transaction were real.

  15. 15. WooCommerce: open the test order and click its Charge ID

    Please open the test order in your WooCommerce admin. Click the linked Charge ID beneath the order number at the top of the edit order page.

  16. 16. Stripe: check the test payment

    Now please switch to Stripe.

    WooCommerce's help says that after a successful test payment, you can view its details in your Stripe dashboard. Please check that your test payment is there.

    This guide ends here. WooCommerce's help says that unless you're testing, test mode should likely be disabled. When you're ready for real customers, please untick Enable test mode and click Save Changes.

If something looks different

  • "An issue occurred generating a connection to Stripe": WooCommerce's help says this could mean your site isn't served over HTTPS, your site can't be reached from the internet (for example, it's hosted locally), or WooCommerce's systems are briefly offline. It suggests waiting five minutes and trying again, then contacting support if it still fails, according to WooCommerce's connection help.
  • An "Incomplete" account status after clicking Configure connection: WooCommerce's help says you may need to re-authenticate your Stripe account.
  • Webhook status isn't "Enabled" or "Configured": WooCommerce's help says webhooks are set up automatically when you connect. It says you can click Reconfigure webhooks in the Live tab and the Test tab of Configure connection.
  • Sync shows "Disabled": WooCommerce's help gives several causes, including a connection that uses manually entered API keys instead of the sign-in connection.
  • Stripe doesn't show at checkout: WooCommerce's help says the checkout form caches your enabled payment methods and refreshes every 10 minutes. It says refreshing WooCommerce > Settings > Payments > Stripe > Payment Methods clears the cache, and that a working SSL certificate is needed in live mode.
  • The Enable test mode option can't be turned off: WooCommerce's help says this happens while your Stripe account is restricted to test mode only, for example before you have entered your business information in Stripe.
  • WooCommerce's help says each website you run needs its own Stripe account, even though the plugin can technically use one account on several sites.
  • Your screens may differ if your WooCommerce or extension version is older. WooCommerce's help says webhooks are set up automatically from version 8.6.1 of the extension.