Mismatch Between WooCommerce Dashboard and Stripe

The Issue was that a customer bought a product and paid via Stripe. When I log into my Stripe dashboard on the Stripe website I can see it is paid.

On my Woo dashboard it says the order status is ‘Cancelled’ and when I hover over that word I see a message that says “Unpaid order cancelled – time limit reached. Order status changed from Pending payment to Cancelled.”

I don’t have any kind of plugin that would allow a customer to cancel and order, so what my WooCommerce dashboard says may not reflect what the customer expects. In other words the customer placed the order and paid, and expects the goods but the Woo dashboard on the WooCommerce site says the order was cancelled.

What is going on?

Homing In On The Issue

As a first step, are webhooks are configured correctly on the site at WooCommerce > Settings > Payments > All payment methods > Stripe > Manage > Settings?

This is what the page looks like, and all three should be green.

The webhook endpoint needs to be added to your Stripe account.

The signing secret webhook can be found in your Stripe dashboard on the Stripe website.

And then go back to your site and click Stripe account settings (see first screenshot here) and add the key and refresh and they should all show green.

In my case the secret key was not set. I don’t know how that happened because previous orders went through OK.

Debug For Future Issues With Stripe and WooCommerce

Go to WooCommerce > Settings > Payments > Stripe > Manage > Settings > Scroll down to the bottom and expand Advanced Settings. There is a setting there to set debug to true. Do that and they you are able to check future logs in WooCommerce > Status > Logs.

Thanks to the Woo Happiness Engineer who talked me through this.

Move Text Below Product Images

For SEO for e-commerce sites, category pages are more important than product pages. One important SEO ranking factor is the amount of relevant text describing the category. The problem is that if you write text it will appear above the product images, and if you write more than a couple of lines of text it will push the product images way down the page.

What you want is to have the text appear below the grid of product images, and this is how to accomplish it.

Mr WordPress has a YouTube video in which he describes adding a line of php to accomplish that.

I am using a child theme on one of my e-commerce sites, and I have a functions.php file within that child theme. So I added the php there. If you are using a parent theme then you can put your code in a snippets plugin.

Here’s the code

remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 ); 
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );

An Alternative

If you are not comfortable doing this then I found a plugin in the WP repository that may do the job. It’s named Move Category description under products for WooCommerce. You should be able to find it from that description.

The thing I don’t like about it is that the shortcode you add at the beginning and end of the text you want to move, has the word ‘mcdusaltasotto’ baked in.

I just downloaded the plugin and I see that it consists of two files and a readme file. In the file named salta-sotto.php, the word mcdusaltasotto is on line 33 and I assume you can change this to whatever word you like. Most simple text editors will open the file. If you are on a Mac then the free COTEditor Plain-Text Editor for macOS is about as simple as it gets.

That said, I have not used this plugin so I can’t advise beyond this.

WooCommerce: Setting Different Time Limits To Cancel Orders

In WooCommerce> Settings > Products > Inventory page, you can choose how long the system will hold stock for unpaid orders. When the limit you set is reached, the pending order will be cancelled. Or you can leave the field blank to disable it. That is generally not a good idea, because you might find customers put products in the basket and leave – and soon you will have no available stock to sell.

But what happens if you have a variety of methods of payment, for example credit card or cheque or ban transfer? You can’t set a limit of, say, 60 minutes, because that won’t allow enough time for a bank transfer or for a cheque to arrive.

The WooCommerce Cancel Abandoned Order plugin allows you to set specific time limits to hold stock for different kinds of payment.

Default to Billing or Shipping Address in WooCommerce?

In the Shipping Destination section of the back end in a WooCommerce web site, there are three options in WooCommerce / Settings / Shipping / Shipping Options. The options are:

  • Default to customer shipping address
  • Default to customer billing address
  • Force shipping to the customer billing address

Assuming you want to allow a customer ask for delivery to an address other than the billing address, how do you decide between the first two options? Do you set the default to the customer shipping address or their billing address?

The answer is this: If you set it to the shipping address, then on the checkout page the box next to the text that reads ‘Deliver to a different address?’ will be checked and the fields will be open and visible. If you set it to the billing address then the box will not be checked and the customer would have to check the box to get the fields for the delivery address to open and become visible.

If the majority of customers want delivery to their billing address, choose the ‘Default to customer billing address’ option.

Custom Product Tabs for WooCommerce

By default, you will see a Description tab in the individual product pages, If you enable product reviews in WooCommerce then you will see a second tab for Reviews. If you set up a variable product you will also see a tab for Additional information.

If you want to set up more custom tabs, there is a plugin Custom Product Tabs for WooCommerce in the WordPress repository, with a pro version that gives more options. Addify make a Custom Products tab manager sold as an extension on WooCommerce.com that offers various layouts.

Email Text Customizer for WooCommerce

UPDATE

This plugin has been closed as of May 27, 2022 and is not available for download. This closure is permanent. Reason: Author Request.

This plugin was As anyone who has worked with WooCommerce knows, the text in the system emails don’t suit every circumstance of every seller. The email text customiser for WooCommerce plugin enables you to rewrite text. There are other ways, but they are more technically challenging, involving language strings and changing template files.

The WordPress repository page for the plugin says that the plugin hasn’t been updated for the past several versions of WooCommerce. The author is Maeve Lander who works at Automattic with the WordPress.com VIP team, helping clients run WordPress at enterprise scale, as you can read on her site.

Note the spelling of customizer, which I have retained because it is the actual name in the WordPress repository. In my native British English is would be spelled customiser, with an s rather than a z.