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.

Table of Contents

Why Stripe Checkout?

Strong Customer Authentication (SCA), a new rule that 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.

wordpress stripe checkout plugin

WP Stripe Checkout Info

Plugin Name: WP Stripe Checkout
Version: 1.2.2.20
File Format: application/zip
Requires: WordPress 6.1
Rating: 4.5 based on 19 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

Note: This is NOT an official Stripe product.

Features

  • Accept payments on a Stripe-hosted payment page
  • Accept Stripe one-time payments
  • Validate cards in real-time with built-in error messaging
  • Accept Stripe recurring payments
  • Multiple payment methods for international payments
  • Accept donations via Stripe
  • Customize Stripe payment buttons
  • PCI compliant and SCA-ready (strong customer authentication)
  • Send email receipts to customers automatically
  • Accept Apple Pay payments
  • Accept Google Pay payments
  • Accept Alipay payments
  • Accept WeChat Pay payments
  • Accept Bancontact payments
  • Accept EPS payments
  • Accept giropay payments
  • Accept iDEAL payments
  • Accept Przelewy24 payments
  • Accept Sofort payments
  • Accept Afterpay/Clearpay payments
  • Accept Boleto payments
  • Accept OXXO payments
  • Accept ACH Direct Debit payments
  • Accept Bacs Direct Debit payments
  • Accept BECS Debit payments
  • Accept Canadian pre-authorised debit (PAD) payments
  • Accept SEPA Direct Debit payments
  • Allow billing address collection at checkout
  • Allow shipping address collection at checkout
  • Allow shipping charges at checkout
  • Allow phone number collection at checkout
  • Allow user redeemable promotion codes at checkout

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 Stripe checkout plugin and extract the zip file
  • 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.

{product_id} – The ID of the product.

{price_id} – The price ID of the product.

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

{price} – The price of the product.

{quantity} – The purchased quantity of the product.

{amount_total} – The total amount of the purchase.

{amount_shipping} – The shipping amount of the purchase.

{billing_name} – The buyer’s billing name.

{billing_address} – The buyer’s billing address.

{shipping_name} – The buyer’s shipping name.

{shipping_address} – The buyer’s shipping address.

Stripe Webhook Setup

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.

You will also need to add the checkout.session.async_payment_succeeded and checkout.session.async_payment_failed events if you plan to use a payment method where there can be a delay in payment confirmation. For example:

  • Bacs Direct Debit
  • Boleto
  • Canadian pre-authorised debits
  • OXXO
  • SEPA Direct Debit
  • SOFORT
  • ACH Direct Debit

Stripe Orders

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

screenshot of stripe checkout orders menu

Priority Support

If you are having an issue with the plugin, our support team can help investigate it by taking a closer look at your site.

WP Stripe Checkout Technical Support
WP Stripe Checkout Technical Support
Our technical support team will troubleshoot Stripe Checkout plugin related issues on your website.
Price: $59.99
Price: $29.99

How to Use Stripe Checkout (Option 1)

The easiest way to start accepting Stripe payments is to create a new product in the plugin interface (Stripe Checkout > All Products > Add New).

add a new product in the stripe checkout plugin

Once you have created a product, add the shortcode for it to a post/page.

[wp_stripe_checkout id="1"]

Replace the value of id with your product ID.

The shortcode will create a payment button that can be used to accept payments through Stripe.

stripe payment button created using the WordPress Stripe checkout plugin

Supported Options

Price

The price of the product.

Button Text

The text displayed inside the button.

Button Image

The image that will act as the button.

Billing Address Collection

An option to specify how Stripe should collect the customer’s billing address (auto/required).

Phone Number Collection

An option to enable phone number collection at checkout.

Shipping Address Collection

An option to specify if Stripe should collect the customer’s shipping address.

Stripe Shipping Rate ID

The unique ID of the shipping rate configured in your Stripe account if you wish to charge shipping.

Allow Promotion Codes

An option to allow user redeemable promotion codes at checkout.

Product Display Template

The template parameter in the shortcode allows you to use a pre-designed display template to showcase your product.

[wp_stripe_checkout id="1" template="1"]

Replace the value of template with your preferred display template id.

Display Template 1

product display template 1 using the WordPress Stripe checkout plugin

WP Stripe Checkout Add-ons for Option 1

WP Stripe Checkout plugin comes with various add-ons that you can use to enhance its functionality on your website. You can contact us if you have any questions about the add-ons.

Variable Price

Variable Price add-on lets customers set the amount they will pay. It can also be used for accepting donation payments via the Stripe payment gateway.

Variable Quantity

Variable Quantity add-on lets customers set the quantity they will purchase.

Submit Type

Submit Type add-on allows you to customize the type of the submit button that appears on the Stripe payment page.

Terms of Service

Terms of Service add-on allows you to show a terms of service checkbox on the Stripe payment page.

How to Use Stripe Checkout (Option 2)

If you do not wish to create a product you can get started by adding the following shortcode to a post/page.

[wp_stripe_checkout_session name="My Product" price="2.99"]

The shortcode will create a one-time payment button. Replace the value of name with your product name and price with the actual product price.

Shortcode Parameters

wp_stripe_checkout_session shortcode currently supports the following parameters:

button_text

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

[wp_stripe_checkout_session name="My Product" price="2.99" button_text="Pay Now"]

button_image

If you want a custom image to act as the button you can use the button_image parameter instead (optional). The default is a plan button with the text “Buy Now”.

[wp_stripe_checkout_session name="My Product" price="2.99" button_image="https://example.com/wp-content/uploads/pay-now-button.png"]

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_session name="My Product" price="2.99" 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_session name="My Product" price="2.99" cancel_url="https://example.com/cancel"]

billing_address

You can specify whether Stripe should collect the customer’s billing address (optional). By default this parameter is not set which means Stripe will only attempt to collect the billing address when necessary.

[wp_stripe_checkout_session name="My Product" price="2.99" billing_address="required"]

You can also set this parameter to “auto” which is equivalent to empty at the moment.

phone_number_collection

You can specify whether Stripe should collect the customer’s phone number (optional). By default this parameter is not set.

[wp_stripe_checkout_session name="My Product" price="2.99" phone_number_collection="true"]

When phone number collection is enabled, a required phone number field is added to the payment form.

allow_promotion_codes

You can specify whether Stripe should allow user redeemable promotion codes at checkout (optional). By default this parameter is not set.

[wp_stripe_checkout_session name="My Product" price="2.99" allow_promotion_codes="true"]

class

Custom CSS class for the button (optional).

[wp_stripe_checkout_session name="My Product" price="2.99" class="btn"]

Multiple CSS classes can be added in a space-delimited format.

[wp_stripe_checkout_session name="My Product" price="2.99" class="btn btn2 btn3"]

WP Stripe Checkout Add-ons for Option 2

WP Stripe Checkout plugin comes with various add-ons that you can use to enhance its functionality on your website. You can contact us if you have any questions about the add-ons.

Variable Price 2

Variable Price addon lets customers set the amount they will pay. It can also be used for accepting donation payments via the Stripe payment gateway.

Variable Quantity 2

Variable Quantity add-on lets customers set the quantity they will purchase.

Submit Type 2

Submit Type add-on allows you to customize the type of the submit button that appears on the Stripe payment page.

Terms of Service 2

Terms of Service add-on allows you to show a terms of service checkbox on the Stripe payment page.

How to Use Stripe Checkout (Option 3)

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"]

Note: The price ID changes when you create a product in test mode and switch to live. You need to update it in the shortcode accordingly.

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"]

button_image

If you want a custom image to act as the button you can use the button_image parameter instead (optional). The default is a plan button with the text “Buy Now”.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" button_image="https://example.com/wp-content/uploads/pay-now-button.png"]

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.

billing_address

You can specify whether Stripe should collect the customer’s billing address (optional). By default this parameter is not set which means Stripe will only attempt to collect the billing address when necessary.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" billing_address="required"]

You can also set this parameter to “auto” which is equivalent to empty at the moment.

shipping_address

You can specify whether Stripe should collect the customer’s shipping address (optional).

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" shipping_address="required"]

shipping_countries

If you only wish to ship to certain countries you can specify their two-letter ISO country codes in the shortcode (optional). By default this parameter is not set which means Stripe will show all the supported shipping locations on the payment page.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" shipping_address="required" shipping_countries="'US'"]

This will show US as the only shipping location on the payment page.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" shipping_address="required" shipping_countries="'US','CA','AU'"]

This will show US, Canada and Australia as the supported shipping locations on the payment page.

Currently Stripe doesn’t support these country codes: AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI.

locale

The locale that will be used to localize the display of Checkout (optional). The default is “auto” (Stripe detects the locale of the browser).

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" locale="en"]

For a list of supported languages for checkout please check the Stripe support page here.

class

Custom CSS class for the button (optional).

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" class="btn"]

Multiple CSS classes can be added in a space-delimited format.

[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" class="btn btn2 btn3"]

WP Stripe Checkout Add-ons for Option 3

WP Stripe Checkout plugin comes with various add-ons that you can use to enhance its functionality on your website. You can contact us if you have any questions about the add-ons.

Variable Quantity 3

Variable Quantity add-on lets customers set the quantity they will purchase.

Submit Type 3

Submit Type add-on allows you to customize the type of the submit button that appears on the Stripe payment page.

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

Stripe Customer Portal

Stripe customer portal is a Stripe-hosted portal that allows your customers to manage their subscriptions and billing details themselves. The easiest way for your customers to access this portal is through a customer portal link that you can generate from your Stripe account dashboard.

How to Activate Stripe Customer Portal

1. Go to Settings > Billing > Customer portal from your Stripe account dashboard.

stripe customer portal activation

2. Click Activate link.

stripe customer portal link

You can add the customer portal link to your website or send it to your customers via email.

Frequently Asked Questions

Can I use this plugin to accept Stripe payments in WordPress?

Yes.

Can I accept donations with this Stripe WordPress plugin?

Yes.

Can I accept Stripe one-time payments with this WordPress plugin?

Yes.

Can I accept Stripe recurring subscription payments with this WordPress plugin?

Yes.

How do I log in to my Stripe account dashboard?

You can log in to your Stripe account dashboard here: https://dashboard.stripe.com/.

What are the transaction fees to use Stripe?

The current transaction fees for Stripe Payments are 2.9% + $0.30 per successful card charge for US cards. There is a 1% fee for international cards and an additional 1% fee if currency conversion is required. Stripe offers pay-as-you-go pricing, based on payments you process. There are no setup fees, monthly fees, or hidden fees.

Can I use Stripe test cards for test mode payments?

Yes. You can find some Stripe test card numbers here: https://stripe.com/docs/testing.

270 thoughts on “Stripe Checkout Plugin For WordPress”

  1. Hey, I am using this plugin but when I click on buy now button noting happened

    Reply
    • @Manish, Please provide a link to your button page so I can check it.

      Reply
  2. Hey, I’m wondering how this works with a wordpress cart. This seems like it would allow me to proceed to checkout on each individual product page, but not on the entire cart. Please advise.

    Reply
    • @anna, There is no shopping cart unfortunately.

      Reply
  3. Hi Noor,
    First of all thanks for this addon this is really great.

    Unfortunatly when I click on buy now button nothing happened.

    I dont know if it is a problem with the settings of my stripe account or with the settings of my pluggin?

    Thanks for your help

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

      Reply
      • Hi Noor and thank you for your quick answer!
        Here a link for a product [wp_stripe_checkout_v3 price="prod_J5dtPAo5Efu1Xe" button_text="Acheter"]
        and a link for a subscription [wp_stripe_checkout_v3 price="prod_J5aokJgskETRle" mode="subscription" button_text="Souscrire mon abonnement STARTER"]

        Thanks again for your help

        Reply
        • @Magali, Thanks. I need to see the page where you are using these shortcodes. I have noticed that your button_text values are not enclosed in double quotes. Please see the updated shortcodes (I have updated them for you).

          Reply
          • Hi Noor,
            I finally found the solution. Thanks for all

  4. Hey there, and thanks for all your work! – How can I use custom prices with the v3 shortcode? This gives me a headache…

    Reply
    • @nils, There is no custom price unfortunately.

      Reply
  5. Can this plugin support customer-facing Stripe coupon codes being entered at checkout to provide discounts on recurring subscription products?

    Reply
    • @Sam, Is this coupon code created in your Stripe account?

      Reply
      • Yes, using coupons that are created via our Stripe account

        Reply
        • @Sam, Thanks. Stripe doesn’t seem to show any coupon option to me at checkout. So the API may not support it.

          Reply
          • It does. Set allow_promotion_codes to true when creating the Stripe Checkout session

          • @Sam, It doesn’t use session. It uses Stripe’s “Redirect to Checkout” method.

          • Thanks for the information!

  6. Is the form hosted on Stripe’s servers or the client’s web servers? We would want to ensure all compliance is met and falls on Stripe’s responsibility.

    Reply
    • @Dayna, The v3 shortcode sends users to a Stripe hosted page.

      Reply
  7. Hi, I am trying to create a subscription that uses 2 phases with iteration & interval attributes to basically have a subscription that charges $147/month for the first 3 months, then reduces to $97 month thereafter. Can that be done with this plugin?

    Reply
    • @Christine, If you can configure this in your Stripe product it should be possible.

      Reply
  8. hello, how can I influence the language the customer receives the payment receipt? in our test purchase the receipt was in Japanese. It should be in Chinese.

    In Stripe, the customer’s language setting was Japanese. But I didn’t make this setting.

    How can I make sure that the language is by default English? Or even Chinese, if supported?

    Stripe support mentioned that they currently don’t support Chinese (ZH), even thought they state this as a supported language on the Stripe Checkout page.

    Reply
    • @oliver, The plugin doesn’t automatically send any language parameter to Stripe. Did it come from their browser settings?
      https://support.stripe.com/questions/language-options-for-customer-emails

      Reply
      • Hello thanks for the quick response.
        No, the browser setting was english. I already talked to the stripe support, and they gave me this response … oO:
        —-
        “The language for Stripe Checkout is set via the locale as outlined in our docs and doesn’t have a Dashboard option to set this:

        https://stripe.com/docs/payments/checkout/customization#localization
        https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-locale

        With regards to how to set it in your plugin is something you will need to ask the support team for that specific plugin.

        We don’t currently support receipts in ZH so Japanese would be the closest thing currently.

        (I have passed this up to our product team as user feedback)

        https://stripe.com/docs/receipts#customizing-receipts
        https://dashboard.stripe.com/settings/emails
        —-

        I am not sure what to make of that. If possible, I just want to set the default to English. I mean, so many people are using this, so it should be possible to set the language properly in stripe checkout, no?

        Reply
        • @Oliver, Thanks. I have just released an update to fix this issue. You can now use the locale parameter to set the default locale to English (e.g. locale="en").

          Reply
  9. Hi Noor,
    I like the simplicity of your plugin. But does your WP Stripe plugin allow people to give donations at variable amounts? If so, how? Can they define how much to give?
    Thanks,
    Dorothy

    Reply
    • @Dorothy, It’s not possible at the moment.

      Reply
      • Do you have a time frame regarding this feature? Is it on your roadmap?

        Reply
  10. Hello, great plugin! But a small problem (Sorry for my english)

    In the documentation says that billing address is false (default) but, in the code, I have found this line:

    billingAddressCollection: ‘required’ (line 725 in main.php)

    I think that is necessary change for a variable to the shortcode. In this way, the choice of the billing address will be really dynamic.

    Thank you in advance

    Reply
    • @Miguel, The documentation you are looking at is for the legacy shortcode (it uses Stripe’s old checkout API). The legacy shortcode still supports it.

      Reply
      • Ok perfect, is there any posibility to add a shortocode parameter to select if I require the billing address?
        By default, Stripe don`t require this information.
        Thank you.

        Reply
        • @Miguel, It’s possible. But Stripe will still attempt to collect the billing address when necessary.

          Reply
          • @Miguel, I have just released an update for it. Billing Address will only be collected if specified in the shortcode.

          • Thank you so much. Run fine!

  11. Hi,

    Thanks for this plugin. I have set it up but for some reason the shortcodes are not working. Have added them to buy now buttons but when clicke/tapped they open to a blank screen.

    redgrid.io/earlyrelease

    Any help would be appreciated 🙂

    Reply
    • @Josh, It seems to be working fine for me.

      Reply
  12. Noor,

    I installed your plugin and it worked fine. Can we add Tax and Shipping Address ?
    Can you please guide how can we do that.

    Reply
    • @Harp, The plugin doesn’t specify any amount. It comes from your Stripe product.

      Reply
      • ok. Is there any other way to add tax and shipping address?

        Reply
        • @harp, Can you specify tax in your Stripe product?

          Reply
          • Can I email you? I am at hapishyguy @ gmai

          • Yes.
            You mean if I can add tax in Stripe account?

          • @harp, Yes.

          • I got sorted. I manually added the jd file into the header which revolved the issue.

            Follow up – Is there any way of enabling shipping address details on the checkout? Looking at the stripe documentation it is possible, but just wondering where to insert into your files?

            https://stripe.com/docs/payments/checkout/shipping
            You can collect a customer’s shipping address in Checkout by setting shipping_address_collection when creating a Checkout Session. You must also specify which countries to allow shipping to by configuring the allowed_countries property with an array of two-letter ISO country codes.

          • @Tomas, I have just released an update for it. You can now specify shipping_address=”required” in the shortcode to allow collection of shipping address. Please check the updated instructions for details.

          • SOLID Update, THANKS so much!

            Would it be possible to add in the shipping rates parameter so we can apply shipping rate fee’s? Included link below.

            Create a Checkout session and include the ID of your desired ShippingRate in the shipping_rates parameter.

            'shipping_rates' => ['shr_123456789'],
            'shipping_address_collection' => [
            'allowed_countries' => ['US', 'CA'],
            ],

            https://stripe.com/docs/payments/checkout/shipping#create-checkout-session

          • @Tomas, The plugin uses Stripe’s redirectToCheckout method. I don’t see this option in it.

            https://stripe.com/docs/js/checkout/redirect_to_checkout

          • Yes. I already have added tax in Stripe account.

          • Yes. I have already added the Tax in Stripe in Live and Test mode, both.

  13. Hi there,

    Any chance you can look at why my Pay Now button does nothing once clicked?
    https://www.guirysbar.com/#mug

    Cheers,
    Tom

    Super cool plugin btw…

    Reply
    • @Tomas, Are you using a plugin to minify or combine scripts? I could not find the Stripe JavaScript library on that page.

      Reply
      • Thanks for the quick reply!

        I have disabled any plugin related to performance
        – Async JavaScript
        – Remove Query Strings
        – WP-Optimize – Clean, Compress, Cache

        It’s still not working on my end. Is it for you? Notice anything else?

        Reply
        • @Tomas, There is an error on that page (Uncaught ReferenceError: Stripe is not defined) and it’s happening because the Stripe js file is not present in the header. Something on your site must be removing it.

          Reply
          • Hi there,

            I have literlly disabled all plugins on my site expect for yours. I even removed your plugin and reinstalled it but the uncaught error is still occurring. Any other ideas I could try?

            Appreciate the help!

          • @Tomas, This is not a configuration issue. Reinstalling the plugin won’t fix it.

    • Which shopping are you using?

      Reply
      • @harp, In that case Stripe should automatically charge it. As I have mentioned before there is no field to pass tax or price with the redirectToCheckout method.

        https://stripe.com/docs/js/checkout/redirect_to_checkout

        Reply
        • I understand. Thanks
          Is there any other way.
          I was using some other service and it added the tax. I was using the stripe firebase recurring from github and it worked. Dont know how.
          I am on hapishyguy at gmail. If you can email me there probably I can talk better through email.
          Would appreciate that.

          Thanks

          Reply
  14. How the customer/client manage their subscriptions for instance they want to view purchase history and cancel subscriptions?

    Reply
  15. Me gustaría cambiar el diseño del botón puesto que es muy simple.

    ¿Cómo puedo hacerlo?

    Reply
    • @Jonathan, You can use the button_image parameter.

      Reply
      • Ese parámetro también cambian el tamaño del botón?

        Reply
  16. Hi,
    is it possible to use Coupons feature from Stripe?
    Best Regards
    Primo

    Reply
    • @Primo, That’s not possible at the moment.

      Reply
  17. the plugin does not send the mail receipt despite having set the flag to this option in the settings, what kind of problem could that be?

    Reply
    • @giudy, If you enable debug in the settings the log file shows what is happening in the backend.

      Reply
      • thanks, I’ve enabled the debug, now after purchasing, at the end of the log file appears that string:

        [October 19, 2021 7:30 am] – SUCCESS :Updating order information
        [October 19, 2021 7:30 am] – SUCCESS :Order information updated
        [October 19, 2021 7:30 am] – SUCCESS :Sending a purchase receipt email to ***
        [October 19, 2021 7:30 am] – FAILURE :Email could not be sent by WordPress
        [October 19, 2021 7:30 am] – SUCCESS :Sending a sale notification email to ***
        [October 19, 2021 7:30 am] – FAILURE :Email could not be sent by WordPress
        [October 19, 2021 7:30 am] – SUCCESS :Order processing completed

        What kind of problem could be about the ” FAILURE :Email could not be sent by WordPress”?

        Reply
        • @giudy, Thanks. This means WordPress was unable to send an email using the wp_mail function. Do you have a contact form on your site? If so please check to see if you can send an email from it.

          Reply
  18. I would like to add a cancel subscription, I’m using the v3 shortcodes, but I can’t find anything about that. How does it work? Or isn’t it supported?

    Reply
    • @Jonas, that’s not possible at the moment. You will need to cancel from your merchant account.

      Reply
  19. Hi, I need this plugin to work on archive-product.php and single-product.php.

    Please can you provide any solution?

    Regards
    Joe

    Reply
    • @Joe, Those files don’t exist in the plugin.

      Reply
      • Single product page + Shop page in Woocommerce

        Reply
        • @Joe, This is not a WooCommerce plugin. It works independently.

          Reply
  20. Hi I was looking to buy the Stripe Checkout Plugin but I wanted to know if I can enable SEPA Direct Debit with this plugin.
    If you don’t know what I’m talking about you can checkout here: https://stripe.com/docs/payments/sepa-debit#getting-started

    I was wondering if I can do that with that plugin and without making custom code.

    Thank you in advance

    Reply
    • @Roberto, This is not possible at the moment. We do have plans to add SEPA Direct Debit in the future.

      Reply

Leave a Comment