Skip Navigation

CRED Commerce is not working properly with WooCommerce 3.1.0

Resolved

Reported for: Toolset Forms Commerce 1.4

Resolved in: Toolset CRED Commerce 1.5

Symptoms

CRED Commerce has 2 issues with WooCommerce 3.1.0:

  1. When a user checks out a product, the post associated with the form is not set as pending, even though the purchase is still processed.
  2. When a user successfully checks out and completes an order, the post associated with the form is not set as published.

Those issues were caused by a bug in WooCommerce which corrupted some data before we can save it. The WooCommerce team solved this issue and released a hotfix as WooCommerce 3.1.1.

Workaround

Although those issues are not caused by us, some data might have been corrupted. Toolset CRED Commerce will try to clean the data it uses starting with the next release of the plugin.

In the meantime, you can download this file, extract it and replace:

  • Form_Handler.php file in the /plugins/cred-commerce/classes/ folder.
  • CRED_Woocommerce.php file in the /plugins/cred-commerce/plugins/woocommerce/ folder.

We recommend to keep a backup of your site and database before this action.

Comments are closed