Plugin Directory

Changeset 3337082


Ignore:
Timestamp:
07/31/2025 09:04:47 AM (5 months ago)
Author:
truvisibility
Message:

minor fixes

Location:
truvisibility-all-in-one-marketing-suite/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • truvisibility-all-in-one-marketing-suite/trunk/README.txt

    r3335811 r3337082  
    136136== Changelog ==
    137137
     138= 1.2.5 =
     139* (fixed) minor fixes
     140
    138141= 1.2.4 =
    139142* (fixed) minor fixes
  • truvisibility-all-in-one-marketing-suite/trunk/config/class-truvisibility-platform-config.php

    r3335811 r3337082  
    55    const PLUGIN_NAME = 'truvisibility-platform';
    66
    7     const PLUGIN_VERSION = '1.2.4';
     7    const PLUGIN_VERSION = '1.2.5';
    88
    99    const CLIENT_ACCESS_TOKEN_OPTION = 'truvisibility_platform_client_access_token';
  • truvisibility-all-in-one-marketing-suite/trunk/services/class-truvisibility-platform-order-info.php

    r3335811 r3337082  
    388388    public function __construct($order_id)
    389389    {
    390         $order               = wc_get_order($order_id);
     390        $order = wc_get_order($order_id);
     391        if ($order instanceof WC_Order_Refund) {
     392            $refund_order_id = $order->get_parent_id();
     393            $order           = wc_get_order($refund_order_id);
     394        }
    391395        $this->id            = $order->get_order_number();
    392396        $data                = $order->get_data();
     
    446450                continue;
    447451            }
    448 
    449             $product          = TruVisibility_Platform_Product_Info::byProduct($item->get_product());
     452            $product_item = $item->get_product();
     453            if (! $product_item instanceof WC_Product) {
     454                continue;
     455            }
     456            $product          = TruVisibility_Platform_Product_Info::byProduct($product_item);
    450457            $product->price   = $item->get_total();
    451458            $this->products[] = $product;
  • truvisibility-all-in-one-marketing-suite/trunk/truvisibility-platform.php

    r3335811 r3337082  
    1010 * Plugin Name:       TruVISIBILITY All-In-One Marketing Suite
    1111 * Description:       The TruVISIBILITY Plugin integrates your website with their all-in-one Marketing Suite featuring a CRM, Email Automation, Forms, & Live Chat/Chatbots.
    12  * Version:           1.2.4
     12 * Version:           1.2.5
    1313 * Author:            TruVisibility, LLC
    1414 * Author URI:        https://truvisibility.com
Note: See TracChangeset for help on using the changeset viewer.