Plugin Directory

Changeset 2545244


Ignore:
Timestamp:
06/09/2021 06:43:57 PM (5 years ago)
Author:
provesource
Message:

Fix woocommerce fatal error on refunded order import

Location:
provesource/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • provesource/trunk/provesrc.php

    r2522792 r2545244  
    77 * Plugin Name: ProveSource
    88 * Description: ProveSource is a social proof marketing platform that works with your Wordpress and WooCommerce websites out of the box
    9  * Version: 2.2.3
     9 * Version: 2.2.4
    1010 * Author: ProveSource LTD
    1111 * Author URI: https://provesrc.com
     
    4545
    4646    public static function version() {
    47         return '2.2.2';
     47        return '2.2.4';
    4848    }
    4949}
     
    207207            'siteUrl' => get_site_url(),
    208208            'siteName' => get_bloginfo('name'),
     209            'multisite' => is_multisite(),
    209210            'description' => get_bloginfo('description'),
    210211            'orders' => $orders
     
    263264
    264265function provesrc_get_order_payload($order) {
     266    if(is_a($order, 'WC_Order_Refund')) {
     267        $order = wc_get_order($order->get_parent_id());
     268    }
    265269    $payload = array(
    266270        'orderId' => $order->get_id(),
  • provesource/trunk/readme.txt

    r2522792 r2545244  
    9393= 2.2.x =
    9494Fix woocommerce checkout order action handler to support virtual products
    95 Fix woocommerce address
     95Fix woocommerce address inaccuracies
     96Fix woocommerce fatal error on refunded order import
    9697
    9798= 2.1.x =
Note: See TracChangeset for help on using the changeset viewer.