How to Easily Accept Credit Card Payments on Your WordPress Site

Do you want to learn how to accept credit card payments on your WordPress site? By default, WordPress does not come with credit card payment options, but there are plenty of plugins and tools that can help solve that. In this article, we will show… Read More »

The post How to Easily Accept Credit Card Payments on Your WordPress Site appeared first on WPBeginner.

Do you want to learn how to accept credit card payments on your WordPress site? By default, WordPress does not come with credit card payment options, but there are plenty of plugins and tools that can help solve that. In this article, we will show you how to easily accept credit card payments on your WordPress site.

Accept credit card payments in WordPress

Note: You will need to enable HTTPS / SSL on your website to accept credit card payments.

Accepting Credit Card Payments in WordPress without Shopping Cart

Often users don’t want to setup a full-fledged shopping cart to accept credit card payments. This makes a lot of sense specially if you’re only selling a single product or accepting payments for consulting / services.

In this case, all you need is an online order form with a credit card payment option.

Here is how you can easily accept credit card payments without adding a shopping cart to your website.

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.

WPForms is the most beginner friendly WordPress form builder plugin. While they have a Lite version that’s free, you will need their PRO plan to access the payment add-ons.

Upon activation, you need to visit WPForms » Settings page to enter your license key. You can find this information in your WPForms account area.

Enter your license key

Next, you need to head over to WPForms » Addons page and locate the Stripe addon. Go ahead and click on the ‘Install Addon’ button and then click on the ‘Activate’ button.

Install Stripe addon for WPForms

Stripe is a credit-card processing platform that makes it easy for businesses to accept credit card payments on their website. WPForms makes it easy to connect your WordPress website to Stripe.

Once the Stripe addon is activated, we need to connect WPForms to your Stripe account. To do that, head over to WPForms » Settings page and click on the ‘Payments’ tab.

WPForms payments settings

You will need to enter your Stripe API keys. You can find this information in your account settings on Stripe’s website.

Don’t forget to click on the ‘Save Settings’ button to store your changes after entering the API keys.

WPForms is now ready to accept credit card payments. Let’s create an online billing or order form that you can add to your website for accepting credit card payments.

Head over to WPForms » Add New page. From here you need to provide a title for your form and then select ‘Billing / Order Form’ template.

Creating a billing form

WPForms will pre-load the form builder with a billing/order form template with commonly used fields. You can point and click to edit any form field. You can also add new fields from the left column.

Editing order form

Next, you need to scroll down to the Payment Fields section in the left column. From here you can add payment related form fields.

WPForms allows you to add multiple items as well as single items that users can order. You can click on the item field to change item details and pricing.

Add credit card field

After editing item details, go ahead and click to add the credit card field to your form.

Now that your form is setup, let’s enable payments for this form. To do that, you need to click on the Payments tab on the left and then select Stripe.

Enable Stripe payments

You will need to click on the checkbox next to ‘Enable Stripe payments’ option and provide a description of the payment. Optionally, you can send an email receipt to your users by selecting the email field from the drop-down menu.

Next, you may want to receive an email notification for new orders and purchases. You can also send a confirmation email to notify the user that you have received their order.

Let’s setup notifications for your billing form.

You need to start with clicking the ‘Settings’ tab on the left and then select ‘Notifications’. You will notice that WPForms has already created a notification that sends an email to your WordPress admin email address when a new order is placed.

Notification settings

You can edit this notification message. For example, you can provide additional email addresses, change email copy, subject, and more.

If you want to send a separate notification to your users, then click on the ‘Add New Notification’ button.

You will be asked to provide a name for the new notification. Let’s call it ‘Customer Notification’. After that you will see the notification fields that you can edit.

Creating new notification email

You need to click on the ‘Show Smart Tags’ link next to ‘Send to email address’ option and select the ‘Email’ field. This allows WPForms to use the email address that your customer provided when submitting the form.

Editing new notification email

You can edit rest of the notification email by providing a subject line and message. You can also use smart tags to use the form fields submitted by the user to add item details, user’s name, and other personalized information.

Once you are done, you can click on the save button at the top and exit the form builder.

Save and exit form builder

Your online credit card payment form is now ready, and you can add it to any WordPress page on your site.

Simply edit a page or create a new one, and then click on the ‘Add Form’ button above the page editor.

Add your credit card payment form to a WordPress page

This will bring up a popup where you can select the order form and click on the add form button to continue. WPForms will now enter the required shortcode to your post edit area.

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

Payment form page preview

Note: Don’t forget to test your form to make sure everything is working fine. If you are unable to send or receive email notifications, then follow the instructions in our guide on how to fix WordPress not sending email issue.

WPForms is the simplest way to accept credit card payments in WordPress, and it is the easiest way to create just about any type of form in WordPress. This is why it ranks #1 in our list of the best WordPress contact form plugin. WPForms has over 1 million active installs and a 4.9 out of 5 star rating average.

If you don’t want to use Stripe, then you can also use PayPal to accept credit card payments using the WPForms PayPal addon.

However a simple payment form isn’t a perfect solution for everyone. Based on use-case, you may need a different solution for accepting credit card payments on your website. Here are some other ways to accept credit card payments in WordPress.

Accepting Credit Card Payments in an Online Store

If you want to add a shopping cart and sell multiple items, then you will need an eCommerce plugin like: WooCommerce. It is the best WordPress eCommerce plugin on the market. WooCommerce makes it easy to sell things online and accept credit card payments.

WooCommerce payment settings

For complete step by step instructions, see our guide on how to start an online store for beginners.

Accept Credit Card Payments on a Membership Website

If you want to build a membership website to sell membership subscriptions and paid content, then we recommend using MemberPress. It is the most powerful WordPress membership plugin that easily integrates with Stripe, PayPal, or Authorize.net to accept credit card payments on your website.

MemberPress payments

Here is a complete guide on how to create a membership website with step by step instructions.

Accept Payments by Selling Online Courses

If you want to sell online courses, then we recommend using LearnDash. It is the best LMS plugin for WordPress and allows you to process credit card payments on your website.

LearnDash Stripe settings

For details, see our guide on how to how to sell online courses with WordPress with step by step instructions.

We hope this article helped you learn how to accept and process credit card payments in WordPress. You may also want to see our list of the 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.

The post How to Easily Accept Credit Card Payments on Your WordPress Site appeared first on 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. Note: Stripe requires your site… Read More »

The post How to Accept Payments with Stripe in WordPress appeared first on WPBeginner.

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 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 Lite for Stripe

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 Lite for Stripe plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, the plugin will add a new menu item labeled ‘Simple Pay Lite’ to your WordPress admin bar. Clicking on it will take you to plugin’s settings page.

Simple pay lite settings

The first option you will notice on the settings page is live 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.

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 default settings tab on plugin’s settings page.

Default settings for WP Simple Pay Lite

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.

Simply create a new page or edit a page where you want to display the payment form. You will need to add a shortcode to display your Stripe payment form, like this:

[stripe name="My Store" description="My Product" amount="19.99"]

Don’t forget to replace store name, description, and amount with your own values.

You can now save your changes and visit your website to see the form in action.

Stripe payment form in WordPress using WP Simple Pay Lite

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.

The post How to Accept Payments with Stripe in WordPress appeared first on WPBeginner.