No announcement yet.

Release WordPress WooCommerce Plugin

This topic is closed.
  • Time
  • Show
Clear All
new posts

  • Release WordPress WooCommerce Plugin

    Release Date: November 2, 2017
    Version: 2.200.000/WP:v4.8.3/WooCommerce:v3.2.1

    • Compatibility with the latest Wordpress 4.8.3

    Important Note - Post Upgrade Steps:

    WordPress' normal behavior is to not pass the transactions with $0 to the payment plugin. This behavior creates problems four C&P clients that want to process custom payment type as well as pre-authorization. To allow for $0 transactions to be passed to the payment plugin a change needs to be made to the core files. Please follow the steps below:
    1. Locate the file: "woocommerce/includes/class-wc-cart.php".
    2. Locate the line in the code: return apply_filters( 'woocommerce_cart_needs_payment', 0 < $this->get_total( 'edit' ), $this );
    3. Modify the line in the code: return apply_filters( 'woocommerce_cart_needs_payment', 0 <= $this->get_total( 'edit' ), $this );
    The above change needs to be made after each upgrade. As is clear in the code the change simply instructs the WooCommerce engine to use the payment engine for values greater than or equal to zero rather than the original mode of only greater than 0.
    Last edited by CnP.Support; 11-02-2017, 06:36 AM.
    Click & Pledge Support Department

    Join us @ the educational webinars:
    Live Support- read more: