Stripe Checkout Plugin For WordPress

Stripe checkout plugin enables Stripe payment gateway on your WordPress site. It seamlessly integrates Stripe checkout functionality into your site and allows you to collect credit and debit card payments. Stripe checkout plugin offers SCA-ready (Strong Customer Authentication) checkout option with mobile-ready experience for your customers.

Why Stripe Checkout?

Strong Customer Authentication (SCA), a new rule came into effect on September 14, 2019, as part of PSD2 regulation in Europe, requires changes to how your European customers authenticate online payments. Card payments now require a different user experience, namely 3D Secure, in order to meet SCA requirements. Transactions that don’t follow the new authentication guidelines may be declined by your customers’ banks.

Stripe checkout plugin supports 3D Secure 2 in the new version of Checkout and the Payment Intents API. Both are capable of running 3D Secure 2 when supported by the cardholder’s bank and fall back to 3D Secure 1 otherwise. The new version of Checkout and the Payment Intents API also support Dynamic 3D Secure, which helps comply your site with the Strong Customer Authentication regulation in Europe. Use of Stripe’s legacy 3D Secure Sources API is no longer recommended and does not support 3D Secure 2.

WP Stripe Checkout Info

Plugin Name: WP Stripe Checkout
Version: 1.1.7
File Format: application/zip
Requires: WordPress 5.5
Rating: 4.2 based on 11 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

Requirements

  1. A self-hosted website running on a WordPress Optimized Environment.
  2. Support for the WordPress shortcode API.

Stripe Checkout Plugin Installation

  • Login to your WordPress admin dashboard
  • Go to Plugins->Add New
  • Enter WP Stripe Checkout in the search box
  • Once you find the plugin hit the install button

Option 2

  • Download the zip version of the plugin
  • Go to Plugins->Add New and switch to the Upload tab
  • Select the zip file on your computer
  • Upload and install it

Option 3

  • Download the zip file and extract it
  • Connect to your website via FTP (you can use a software like Filezilla to transfer files to your server) and browse to the “/wp-content/plugins” folder
  • Select the folder containing the plugin files on your computer and upload it
  • Once all the files have been uploaded to your web server you can activate the plugin from the Plugins menu (WordPress admin dashboard)

Stripe Checkout Plugin Configuration

Once you have installed the plugin you will be able to access the settings by navigating to “Stripe Checkout -> Settings”.

screenshot showing the setting menu of the Stripe checkout plugin

General Settings

In the general settings area, you will need to configure some options related to your Stripe merchant account.

screenshot of Stripe checkout settings

Click on the “Save Changes” button when you are done.

Email Settings

In the email settings area, you can choose to configure some email related settings.

Email Sender Options

In this section, you can specify a From Name and From Email Address that will be used by the plugin when sending an email. You can leave them empty to use the default.

screenshot showing the email sender options in the stripe checkout plugin settings

Purchase Receipt Email

WP Stripe checkout plugin allows you to send a purchase receipt email to the customer after completion of a successful purchase. By default, this feature is disabled. In order to use this feature, you need to enable it in the settings.

screenshot showing the purchase receipt email related options in the stripe checkout plugin settings

You can customize the following options in the purchase receipt email,

Purchase Receipt Email Subject: The subject line for the purchase receipt email.

Purchase Receipt Email Type: The content type of the purchase receipt email (Plain Text/HTML).

Purchase Receipt Email Body: The main content of the purchase receipt email. You can use various tags in the email body to dynamically change its content when it is sent.

Sale Notification Email

WP Stripe checkout plugin can send a sale notification email to your chosen recipient after completion of a successful purchase. By default, this feature is disabled. In order to use this feature, you need to enable it in the settings.

screenshot showing the sale notification email related options in the stripe checkout plugin settings

You can customize the following options in the sale notification email,

Sale Notification Email Recipient: The email address that should receive a notification anytime a sale is made.

Sale Notification Email Subject: The subject line for the sale notification email.

Sale Notification Email Type: The content type of the sale notification email (Plain Text/HTML).

Sale Notification Email Body: The main content of the sale notification email. You can use various tags in the email body to dynamically change its content when it is sent.

Email Tags

The following email tags can be used in the email body to dynamically change its content when an email is sent,

{first_name} – The buyer’s first name.

{last_name} – The buyer’s last name.

{full_name} – The buyer’s full name.

{customer_email} – The buyer’s email address.

{txn_id} – The unique transaction ID for this purchase.

{product_name} – The name of the product purchased.

{currency_code} – The currency code used to make the payment.

{price} – The total price of the purchase.

How to Use Stripe Checkout

1. Enable Checkout in Your Stripe Account

Log in to your Stripe account and navigate to the Checkout settings (Settings > Stripe apps > CHECKOUT) from the Dashboard.

screenshot showing how to enable checkout from a stripe account dashboard

From here you can enable the client integration and customize the look and feel of your checkout page.

2. Create a Product

Navigate to the Products section in your Dashboard and create a new product (One time/Recurring).

screenshot showing how to create a product in a stripe account

When you create a product in the Dashboard, Stripe generates a price ID for it. Make sure to copy this price ID because you will need to use it in shortcode later.

screenshot showing how to copy product price id from stripe account

3. Add a Webhook Endpoint

Go to Developers > Webhooks > Add endpoint from your account dashboard and insert the URL shown in the plugin settings.

Select this event – checkout.session.completed and click Add endpoint. This is where Stripe will send a notification after a checkout payment is successful.

4. Add a Checkout Shortcode

Add the following shortcode to a post/page to create a one-time payment button.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk"]

Replace the value of price with your product price ID.

In order to create a payment button for a recurring product set the “mode” parameter to “subscription” in the shortcode.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUkU" mode="subscription"]

Shortcode Parameters

Stripe checkout shortcode currently supports the following parameters:

button_text

The text displayed inside the button (optional). The default is “Buy Now”.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" button_text="Pay Now"]

success_url

The URL to which Stripe will redirect upon completion of a successful payment (optional). The default is the Return URL specified in the settings.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" success_url="https://example.com/success"]

cancel_url

The URL to which Stripe will redirect when a payment is canceled (optional). The default is the home URL for your site.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" cancel_url="https://example.com/cancel"]

If the payment is successful the customer will be redirected to your chosen Return URL page.

When you receive a new order you will be able to view it in the orders menu.

screenshot of stripe checkout orders menu

Legacy Stripe Checkout

This section is for the legacy version of checkout. It doesn’t meet the new requirements for authenticating online payments (known as SCA – Strong Customer Authentication) which came into effect on September 14, 2019, as part of PSD2 regulation in Europe.

Create a new post/page and add the following shortcode to create a Stripe checkout button.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" label="Buy Now"]

Shortcode Parameters

Legacy Stripe checkout shortcode currently supports the following parameters:

item_name

The name of the item you are selling (required).

description

A short description of your item (optional).

amount

The price of the item. It is also the amount shown to the user (required).

name

The name of your company or website (optional).

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" name="example.com" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99"]

label

The text that is shown on the payment button (optional).

image

A URL pointing to a square image of your brand or product(128x128px recommended). The recommended image types are .gif, .jpg, and .png (optional).

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" image="https://example.com/wp-content/uploads/checkout.png"]

locale

Specify auto to display Checkout in the user’s preferred language, if available (optional). English will be used by default.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" locale="auto"]

currency

The currency of the item (optional). If not specified it will read the currency from the settings.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" currency="USD"]

billing-address

Specify whether Checkout should collect the user’s billing address (optional). The default is false.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" billing-address="true"]

This will collect the following billing address details from a user:

  • Billing Name
  • Billing Address Line1
  • Billing Address Zip
  • Billing Address State
  • Billing Address City
  • Billing Address Country

shipping-address

Specify whether Checkout should collect the user’s shipping address (optional). The default is false.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" shipping-address="true"]

This will collect the following shipping address details from a user:

  • Shipping Name
  • Shipping Address Line1
  • Shipping Address Zip
  • Shipping Address State
  • Shipping Address City
  • Shipping Address Country

panel-label

The label of the payment button in the Checkout form (optional). Checkout does not translate custom labels to the user’s preferred language.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" panel-label="Pay Now $59.99"]

allow-remember-me

Specify whether to exclude the option to “Remember Me” for future purchases (optional). The default is true.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" allow-remember-me="false"]

bitcoin

Specify whether Checkout form should accept Bitcoin (optional). The default is false.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" bitcoin="true"]

success_url

Specify whether the customer should be redirected to a different URL upon completion of a successful payment. The default is the Return URL specified in the settings.

[wp_stripe_checkout item_name="Champion Men's Jersey T-Shirt" description="Short-sleeve t-shirt in athletic fit featuring ribbed crew neckline and logo at chest" amount="59.99" success_url="https://example.com/success"]

When a user clicks on the pay button, a window will pop up where they can enter their credit card info and complete the payment.

screenshot of stripe checkout demo

Stripe Email Receipt

Stripe can automatically send a receipt to your customer via email after completion of a purchase. All that is required for this option is the email address of the customer at checkout. The plugin will collect the email address entered in the simple pay form and notify Stripe so a receipt is automatically sent to the customer upon purchase.

screenshot of a stripe receipt sent to the customer via email upon purchase
Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

158 thoughts on “Stripe Checkout Plugin For WordPress”

  1. Hello,
    can you please kindly write to me about the upgrade for the new European regulatory requirement that will require two-factor authentication – Strong Customer Authentication (SCA).

    When this update will be available, please? Kindly reply. Thanks,
    Yama

    Reply
    • @Yama, It should be available in a couple of days.

      Reply
    • @Yama, It’s available now. Please update the plugin and follow the new instructions.

      Reply
      • Thanks for the update. I have updated the plugin to the new version and received payments since then. But, stripe said the recent payments received still on old system. Can you please check if new version is with SCA system.

        Thanks,
        Yama

        Reply
        • @yama, updating the plugin is not enough. You need to set up everything based on the new instructions.

          Reply
          • Thanks for your message. Where is the instruction? Thanks.

          • @yama, You can find it on this page.

          • Hi again, I looked around and couldn’t find instructions. Would it be possible to share the instruction link. Thanks.

          • @yama, Have you followed the instructions from the “How to Use Stripe Checkout” section?

  2. Just came across this plugin and giving a try.

    Questions:

    1. Is it possible to add the “item_name” and its values on another column on the All Orders page?

    2. Is it possible to add custom fields to the shortcode and then have the value in that custom field returned and saved to WordPress (and possibly added as another column in the All Orders section)?

    Reply
  3. Can’t see how to add stock/inventory levels? Is this not possible? Otherwsie great plugin!

    Reply
    • @Dane, I don’t think Stripe offers an option for it yet.

      Reply
  4. Instead of SKU can I use PROD given that its a subscription plan someone is buying as such there is no SKU. How can I do this?

    Reply
    • @Anthony, Subscription is not supported at the moment.

      Reply
  5. Hi, I don’t want to enter an fixed amount to pay, as it is different every time. How can I do this? Thanks

    Reply
  6. Hi how do I change the size of the ‘buy now’ button is it part of this plug-in or is it to do with my website / wordpress CSS?

    Thanks
    Elizabeth

    Reply
    • @Elizabeth, The plugin creates a plain button. So the CSS for it must be coming from your theme.

      Reply
      • Hmm, it’s strange but the button just remains plain, it doesn’t pick up the styles of my theme. Can you advise how to properly style it, please?

        Reply
  7. Hi,
    Your plugin like a charm on my browser on the desktop. if i test it on my iphone 6 it doesn’t load.

    Any idea what the reason for that could be?

    Cheers,
    Cesare

    Reply
    • @Cesare, Please provide a link to the page in question so I can take a look.

      Reply
  8. Hi,

    Thanks for the checkout plugin, it was very easy to setup and well explained!

    I have some issues though..

    1.) How can I remove the need for the user to enter the billing address? I tried using the configuration as per Stripes docs, and even tried your legacy option ‘billing-address’, and it doesn’t help.

    2.) I set the cancel_url to a page on my site. But if I click on the return icon in the top left of checkout, it goes back to my website home address, not the url I specify?

    Thanks!
    Greg

    Reply
    • @Greg, What shortcode are you using? Please provide a link to the page in question so I can take a look.

      Reply
  9. Is there a way to capture the email AND the Phone Number of the customer at the time of purchase?

    Reply
    • @David, It should be collected on the payment page.

      Reply
  10. Hi,

    Can i remove billing address on updated version?

    Reply
    • @Helmi, What shortcode are you using?

      Reply
      • I tried using billing-address=”false” (form legacy shortcode), but its not working. Is there any way i can remove billing address on the latest version?

        Reply
        • @Helmi, It should still work in the old shortcode. Please provide a link to the page in question so I can take a look.

          Reply
          • here is the link https://sgcflytours.com/product/legolandweekendfunpackage/?preview=true

          • @Helmi, These are just WooCommerce products. Our plugin is not an extension for WooCommerce. It works independently.

  11. can you add subscription support?

    Reply
  12. I followed the setup process and cannot get the products from stripe to load on my page. Also the buy now button doesn’t work. I don’t know what I did wrong??? I went through every step 3 x to see if I missed anything. It’s all correct.

    https://www.easygymnastics.com/buy-now/

    Reply
    • @CoJack, Have you entered your Test Secret Key in the “Test Publishable Key” field?

      Reply
  13. Hi,

    The button “BUY NOW” is not working.
    When I click on it, nothing append.

    I verified all my keys are correct.
    Can you help me ?

    Reply
    • @Alx, Please provide a link to the page in question so I can take a look.

      Reply
      • Hi Noor,

        Here is the URL : https://fornieles-consulting.fr/checkout/

        Thanks!

        Reply
        • I find the problem in the logs. The product was in test mode and in the settings of the pluging test mode using test API keys was not activated.

          Reply
  14. Do you provide the functionality, where a customer can define the payment amount himself?

    Is there a functionality to add payment reference text fields in the checkout form? So that i a customer will do a payment and input payment details, stating for what he pays.

    Reply
    • @Artm, This is not possible at the moment.

      Reply
  15. Hello,

    I have tested your plugin and is working well on one-time product but not on recurring product.
    Can you please confirm your plugin works only on one-time products ?

    Thank you.

    Reply
    • @Eric, Recurring payments are not supported at the moment.

      Reply
      • Hello,

        First of all, thank you for this addon.

        As User @Eric, this functionallity is also interesting as users with this need can’t use the addon at all. Do you expect to add it soon?

        For the rest, the addon is awesome.

        Reply
  16. Hello,

    I followed all the the instuction. And it seems to be functional…But the button to pay still doesnt`t work. What can it be?

    Thank you in advance!

    Reply
    • @Tati, Please provide a link to the page in question so I can take a look.

      Reply
  17. I was delighted to find this plugin! Then bummed to learn that it does not support a user-defined amount. Do you have plans to implement this? If so, any kind of timeline? Thank you so much!

    Reply
  18. Hi, the buy now button is now working for me too. My website is sup.co/trial (ignore the blue button)

    Reply
    • @Matthew, I just clicked on your button. It’s working fine.

      Reply
  19. this pllugin doesn’t work within visual composer. Is that right? Is it possible to fix this issue?
    tnks

    Reply
    • @fabrizio, I haven’t tested with it. You need to use the shortcode block to create a button (which is a core WordPress feature).

      Reply
  20. Hi, can this plugin be used with Standard connect accounts? I would like my vendors to be in charge of their own stripe accounts.

    Reply

Leave a Comment