This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Integrate WooCommerce and Stripe in 4 Simple Steps

Updated on June 15, 2022

5 Min Read

All online stores need reliable, viable payment solutions. Luckily, WooCommerce gives you options to choose from.

Stripe is a payment gateway popular for its ease of use and low transaction fees compared to other providers.

In this step-by-step guide, I will show you how to integrate WooCommerce and Stripe.

What is Stripe and Why Use it in Your eCommerce Store?

Many online store owners want a feasible payment gateway that supports different global currencies. Stripe instantly enables your ecommerce store to start accepting online payments. It allows secure card transactions securely and smoothly handles all aspects of the payment operations.

Here’s why you should use Stripe with your ecommerce store:

  • Compatible and easy integration with CMSes like WordPress and WooCommerce
  • Compatible with iOS and Android
  • Helps manage risk and prevent fraud
  • Powerful and secure payment gateway that supports a wide range of cards, wallets, and bank debit and transfer

Why Should You Use WooCommerce & Stripe?

The WooCommerce Stripe plugin comes with tons of useful features that can help you accept and easily manage payments:

  • Directly accepts credit and debit card payments
  • Accepts payments with Apple Pay
  • Accept payments with Alipay
  • On-site checkout for better user-experience
  • Simple payment structure and low transaction fees
  • A secure and reliable payment channel that is trusted by thousands of customers

Stripe is clearly a great partner for your online store. Here’s how easy it is to connect Stripe and WooCommerce using a WordPress plugin.

How to Add Stripe to WooCommerce

Before we dive into the actual setup process, please make sure that you have set up SSL on your WooCommerce store. SSL provides a secure encrypted tunnel for data transfer that is vital for sensitive customer information.

Cloudways customers can add free SSL via Let’s Encrypt directly from their platform.

add

To integrate Stripe with WooCommerce with the Stripe WordPress plugin, first create an account with Stripe. Then follow the steps below.

Step 1: Get Stripe API Keys

The Stripe API keys will be used to integrate the Stripe WordPress plugin in Step 2.

Log in to your Stripe dashboard and navigate to the Get Your API keys section.

Copy and save both the Publishable Key and the Secret Key for later use.

Step 2: Install Stripe WooCommerce Plugin

Log into your WordPress dashboard, go to Plugins → Add New and search for “Stripe WooCommerce”.

Install and activate the plugin. Once the plugin is activated, go to its settings for configuration.

This will take you to WooCommerce Payments settings.

Step 3: Configure Stripe WooCommerce Plugin

Inside the Payment Setting tab, add the Publishable and Secret keys copied earlier from the Stripe dashboard. Also, generate Webhook Secret Key by adding the webhook endpoint inside your Stripe dashboard.

After adding the endpoint, copy the Webhook Signing Secret and add it inside WooCommerce Stripe plugin settings.

You can also define the text and color of the payment button here, enable payments from Apple Pay, and enable bug logging.

Now click on the Save changes button to activate the payment gateway in testing mode.

Step 4: Test WooCommerce Stripe Plugin

Let’s test our Stripe integration with WooCommerce. I added a product from my WooCommerce store and proceeded to checkout.

Here I can see the options to pay via credit and debit cards. Right at the bottom, it shows I’m in testing mode. It also gives the testing card information to test out the complete payment process.

Let’s pay for our product using the test credit card provided.

I also checked the save payment option. The next time I visit this store I do not have to fill out my card information all over again.

A receipt confirms my order has been placed successfully.

Inside my WooCommerce → Orders, I can also see the payment details and transaction ID for reference.

To switch from testing mode to live mode, simply go to the plugin’s settings and disable the Test Mode.

Update the test and secret keys with LIVE keys.

More Ways to Add Stripe to WooCommerce

Many plugins let you easily add Stripe to your WooCommerce store. Some of the plugins are available in the WordPress repository, Codecanyon, and GitHub. Every plugin offers almost the same steps for integrating or adding the Stripe to WooCommerce.

Here are some Stripe plugins that you can use as alternative option:

Final Thoughts

Stripe works great with WooCommerce to provide the online payment gateway for your customers. You can further explore the Stripe WordPress plugin to integrate it as well.

Besides WooCommerce, you can also use Stripe with other solutions such as Learning Management Systems, to sell digital goods, and to charge clients for personal training sessions.

FAQs

Q: Can I use both Stripe and PayPal in WooCommerce?

Ans: Yes! You can use both Stripe and PayPal in WooCommerce. You can easily install the Stripe and PayPal plugins to instantly add two payment methods for your WooCommerce store.

Q: Does WooCommerce work with Stripe?

Ans: Yes! There are multiple plugins (WordPress Repository, Codecanyon, and GitHub) through which you can integrate Stripe with WooCommerce.

Q: Which payment gateway is best for WooCommerce?

Ans: Well, it depends on your requirements. Stripe offers better services when it comes to card payment and established online businesses. As for PayPal, it’s better preferred by freelancers, SMBs and agencies.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Customer Review at

“Great performance for the price, and plenty of control”

Sean P [SMB Owner]

Ibad Ur Rehman

Ibad Ur Rehman is a WordPress Community Manager at Cloudways. He likes to explore the latest open-source technologies and to interact with different communities. In his free time, he likes to read, watch a series or fly his favorite Cessna 172SP in X Plane 11 flight simulator.

×

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Thankyou for Subscribing Us!

×

Webinar: How to Get 100% Scores on Core Web Vitals

Join Joe Williams & Aleksandar Savkovic on 29th of March, 2021.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

" "
Unleash The Cloud.
Not Budgets.

For 4 Months +
Up To 30 Free Migrations

Cyber Week

SAVINGS
Time Left In Offer
  • 0

    Days

  • 0

    Hours

  • 0

    Minutes

  • 0

    Seconds

40% OFF

On All Plans

GET THE DEAL NOW