How To Accept Credit Card Payments on WordPress Site using WooCommerce

This article shows you how to accept Credit card payments on your WordPress site using WooCommerce Stripe Payment Gateway.


By default, WordPress credit card payment option is disabled. Thus, a WordPress site owner considering to receive payments on the site requires to choose from a variety of option available in the market.

Would you like to earn through your WordPress site? If yes, we are going to learn how we can accept card payments on our WordPress site. When you create a WordPress site, it does not come with card payment options hence the need for individual plugins to help us solve the issue. Please note that for your site to be more secure, you need to enable HTTPS or SSH.

How To Accept Credit Card Payments on WordPress Site

Install WooCommerce Stripe Payment Gateway

If you are selling a single product, there is no need for you to have a shopping cart; you need an online order form with a credit card payment option. Login to your site and go the plugins tab click on add new. On the search form, look for WooCommerce Stripe Payment Gateway.

Click install now then Activate the plugin.

Connect WordPress with WooCommerce.

Stripe requires WooCommerce to be activated. Navigate to WooCommerce wizard and get started with activation.

Select “I have an existing….” option. If you don’t, you can create a new WooCommerce account by using the first option or go to WooCommerce website and sign up here.

Next, choose owner of the site and the Industry which you operate.

Click continue. Select stripe on the payments tab.

Give information about your business.

Give your WordPress site URL for a one time install and click confirm.

Once you have confirmed, you will be redirected back to your site to reactivate it.

Enable Stripe Checkout

Once there, you are going to enter your, secret keys. You can get your API keys from your Stripe dashboard. When logged in to Stripe, go to developers and click API keys.

Copy the two API keys

Navigate to WooCommerce settings on WordPress, click on checkout and select Stripe. Check Enable Stripe. Provide a description

Paste the Secret and Publishable keys copied from Stripe. Click save changes.

Under checkout, click checkout options. Make sure to enable force secure checkout and click save changes.

You can now set up your online store by adding products.


Adding New Products

Once you have finished installing your WooCommerce, you notice two new tabs in your dashboards side menu; WooCommerce, and products.

Navigate to WordPress admin and click products. This action takes you to a window where you add your first product.

Create a title and give a short description of the particular product that you are selling. Add a few pictures of the product as well. By default, your payment page should look something like the following;


Your site can now accept credit card payments through WooCommerce and stripe. The method is relatively easy to do. Remember, your customers will feel confident using a secure method of payment online. Ensure the security of this payment method by enabling “Force secure checkout”.


Check out these top 3 Ecommerce hosting services:

Was this article helpful?