WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Accept Payments with Stripe in WordPress

How to Accept Payments with Stripe in WordPress

Last updated on October 27th, 2017 by Editorial Staff
413 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Accept Payments with Stripe in WordPress

Do you want to accept payments with Stripe in WordPress? Stripe makes it easier for site owners to accept payments on their WordPress websites. In this article, we will show you how to easily accept payments with Stripe in WordPress.

How to accept payments with Stripe in WordPress

Note: Stripe requires your site to be using SSL/HTTPS encryption. If you don’t already have SSL certificate for your website, then please see our step by step guide on how to add SSL in WordPress. Some WordPress hosting providers are now offering free SSL with Let’s Encrypt.

There are many different ways to accept payments with Stripe in WordPress. We will cover 4 different methods, so you can choose the one that best suit your needs.

For quick browsing, feel free to use the navigation links below:

  • Custom Order Form with WPForms
  • Purchase Button with WP Simple Pay Pro
  • Online Store with WooCommerce
  • Digital Downloads with EDD

Custom Stripe Order Forms in WordPress with WPForms

WPForms is the best WordPress form plugin. It allows you to create custom payment forms and easily accept payments on your WordPress site using Stripe and PayPal.

WPForms is a paid plugin, and you will need the Pro plan to use the Stripe and PayPal addons.

First thing you need to do is install and activate the WPForms plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit WPForms » Settings page to enter your license key. You can get this license key from your account on WPForms website.

Adding your WPForms license key

After verification, you need to head over to WPForms » Addons page.

Scroll down to ‘Stripe Addon’ and click on the Install Addon button next to it.

WPForms will automatically install the Stripe forms addon. You will need to click on the activate button to start using this addon.

Next, you need to visit WPForms » Settings page and click on the payments tab.

Once there, you need to connect Stripe to your WordPress site by entering the API keys. You can get these keys from your Stripe account settings.

Payment settings

After entering the API keys don’t forget to click on the save button to store your settings.

You are now ready to accept payments using Stripe in WordPress.

Next, you need to create a form to accept payments on your WordPress site.

Head over to WPForms » Add New page. This will launch the WPForms form builder interface.

Select a form template

WPForms comes with ready to use form templates. You can select an Order/Billing form, donations form, or create a blank form.

WPForms edit fields

You can add new form fields by clicking them from the left column. You can also edit a form field by simply clicking on it.

Once you are satisfied with the form, you need to click on the Payments » Stripe tab.

Adding payment form settings

Now you need to check the box next to ‘Enable Stripe payments’ option and enter a description for the payment. You can also select to send a payment receipt.

Don’t forget to click on the save button to store your settings.

You are now ready to add this form to any WordPress post or page you want.

Simply create a new post or page or edit an existing one and then click on the Add Form button.

Add payment form to a WordPress post or page

This will bring up a popup where you need to select the form you just created and click on the add form button.

Select your Stripe payment form

WPForms will now add the form shortcode to your WordPress post editor.

You can now save or publish your page and click on the preview button to see your form in action.

Stripe payment form

Purchase Button with WP Simple Pay Pro

This method allows you to add a payment button to your WordPress site. Unlike WPForms, this method does not allow you to create custom payment forms with your own fields.

First thing you need to do is install and activate the WP Simple Pay Pro plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Simple Pay Pro » Settings page to configure plugin settings.

WP Simple Pay settings

First, you need to add your license key. You can find this information from your account on WP Simple Pro website.

Next, switch to the ‘Stripe Keys’ tab. The first option you will notice is ‘Test mode’. By default, it is turned off. This allows you to add Stripe in testing mode. Once you are ready to go live, you will need to turn it on.

Stripe Keys

Next you will need to provide your Stripe API Keys. You can get this information from your Stripe account.

After entering your API Keys don’t forget to click on the save changes button to store your settings.

Next, you need to click on the ‘General’ tab on plugin’s settings page.

General options

This is where you can set site name, currency, logo, payment button label, etc.

You can also add redirect URLs when a payment is successful or failed. These could be any WordPress pages on your site.

Don’t forget to click on the save changes button to store your settings.

Now you are ready to add a Stripe payment form to your website. Head over to Simple Pay Pro » Add New page to create a new payment form.

Payment form

First you need to select a payment amount type and the amount.

Next, you need to switch to on-page form display. Here you can add fields to the payment form that will be displayed on your website. Simply select a field and then click on the ‘Add button.

Form fields

After that you can switch to ‘Check out overlay display’ page. You can upload your company logo, add item description, and payment button text.

Stripe checkout settings

Don’t forget to click on the ‘Create’ button to save your form settings.

You can now head over to the post or page where you want to display the payment form. On the edit screen, click on the ‘Insert payment form’ button.

Insert payment form

This will bring up a popup where you can select the payment form you created earlier. Click on ‘Insert payment form’ button to add the form shortcode.

You can now save your post/page and preview your website to see it in action. You will see your payment form with a button. Clicking on the button will bring up the Stripe checkout popup.

Stripe payment form

Adding Stripe Payment Gateway in WooCommerce

If you are running an online store with WordPress using WooCommerce, then here is how you can accept payments using Stripe.

First thing you need to do is install and activate the WooCommerce Stripe Payment Gateway plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit WooCommerce » Settings page and then click on the checkout tab.

You will notice the new Stripe payment option on the page. Clicking on it will allow you to setup Stripe payment gateway for your WooCommerce store.

Setting up Stripe on WooCommerce

First you need to click on the ‘Enable Stripe’ option.

After that you can check the test mode button, which allow you to test Stripe payment gateway. Make sure that you uncheck this box when you are ready to accept payments.

Next you need to enter your Stripe API keys. You can obtain these keys from your Stripe account settings.

Don’t forget to click on the save changes button store your settings.

That’s all, your users will now see Stripe as a payment option on the checkout page.

Stripe checkout in WooCommerce

Stripe Payments with Easy Digital Downloads

Easy Digital Downloads is one of the best WordPress eCommerce plugins on the market. It allows you to easily sell digital downloads from your WordPress site.

First thing you need to do is install and activate the Stripe Payment Gateway addon for Easy Digital Downloads. For more details, see our step by step guide on how to install a WordPress plugin.

The Stripe extension is a paid addon for Easy Digital Downloads. It costs $89 for a single site license.

Upon activation, you need to visit Downloads » Settings page and then click on ‘Payment Gateways’ tab.

Check the box next to Stripe to enable Stripe as a payment gateway on your website.

Enable Stripe on EDD

Click on the save changes button to store your settings.

Next, you need to scroll down to Stripe settings section and enter your Stripe API keys. You can get these keys from your Stripe account settings.

Adding Stripe API Keys

After adding your Stripe API keys, you can configure additional settings. You can ask users for a billing address, display checkout in a modal, upload a logo for the modal, etc.

Don’t forget to click on the save changes button to store your changes.

That’s all, your users will now see the option to pay using Stripe at checkout.

Stripe checkout Easy Digital Downloads

We hope this article helped you learn how to accept payments with Stripe in WordPress. You may also want to see our list of 24 must have WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

413 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

15 Comments

Leave a Reply
  1. Chirag swami says:
    Jun 4, 2019 at 11:37 am

    Is it possible for Working with Multiple Subscriptions for single customer with WP Simple Pay plugin?

    Reply
    • WPBeginner Support says:
      Jun 5, 2019 at 10:09 am

      You would want to check with the plugin with the specific setup you’re wanting to see if that is available.

      Reply
  2. Balu says:
    May 30, 2019 at 12:23 am

    Are there any free plugins?

    Reply
    • WPBeginner Support says:
      May 30, 2019 at 10:07 am

      The WooCommerce plugin is one free plugin.

      Reply
  3. alzihad says:
    Jul 7, 2018 at 1:01 am

    Hello,

    How can I redirect a thank you page with stripe integration?

    Thank you!

    Reply
    • WPBeginner Support says:
      Jul 8, 2018 at 10:12 pm

      Hi Alizhad,

      Edit your form and then click on Settings. From here click on the ‘Confirmation’ section. Here you can select what to do when a user fills out the form. You can redirect them to any page on your website or show them a message.

      Reply
  4. Jaymin says:
    Jun 21, 2018 at 4:15 pm

    Hello,

    I have implemented stripe payments with Custom Stripe integration in my WordPress website and it is working fine.

    How would like create UI in wordpress admin to get all the stripe transaction? I need that transaction list and details in admin panel.

    Any article? Documentation?

    Thanks,

    Reply
  5. Asad Ullah says:
    Apr 9, 2018 at 6:55 pm

    Please make a video tutorial. I will be thankful to you.

    Reply
    • WPBeginner Support says:
      Apr 10, 2018 at 1:35 pm

      Hi Asad,

      Your request has been noted. Please subscribe to our YouTube Channel to be notified when new videos are added.

      Reply
  6. Deb Harrison says:
    Jan 19, 2018 at 4:08 am

    Very good intuitive guide, but I was wondering is there a method where you can set the form up so clients can pay their invoices where they have to enter the invoice total.

    Reply
  7. Arvind says:
    Nov 13, 2017 at 2:08 am

    can WPForms plugin allows or accept payments on our WordPress site other than Stripe and PayPal ?

    Reply
    • WPBeginner Support says:
      Nov 14, 2017 at 4:41 am

      Hi Arvind,

      At the moment, it supports PayPal and Stripe only.

      Reply
  8. Dmitry says:
    Nov 2, 2017 at 6:18 pm

    Hi there, are you able to set up recurring payments with this plugin using Stripe?

    Reply
    • WPBeginner Support says:
      Nov 3, 2017 at 1:25 pm

      Hi Dimitry,

      WP Simple Pay Pro allows you to accept recurring payments using Stripe.

      Reply
  9. Kanishk Mathur says:
    Dec 29, 2016 at 7:52 am

    I want to ask that how you create featured images of your posts.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
MonsterInsights
MonsterInsights
Google Analytics made easy for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
SeedProd Logo
SeedProd Coupon
Get 50% OFF SeedProd Coming Soon Page plugin for WordPress.
Cozmoslabs
Cozmoslabs Coupon
Get 15% OFF on Cozmoslabs WordPress premium plugins.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.