diff --git a/includes/wcwuunder-create.php b/includes/wcwuunder-create.php index 50bc8d7..efa2dcc 100644 --- a/includes/wcwuunder-create.php +++ b/includes/wcwuunder-create.php @@ -6,6 +6,7 @@ class WC_Wuunder_Create { public $order_id; + private $version_obj = array("product" => "Woocommerce extension", "version" => array("build" => "2.0.5", "plugin" => "2.0")); public function __construct() { @@ -96,6 +97,7 @@ private function buildWuunderData($orderId) "weight" => ($totalWeight ? $totalWeight : $defWeight), "delivery_address" => $customer, "pickup_address" => $company, + "source" => $this->version_obj ); } diff --git a/woocommerce-wuunder.php b/woocommerce-wuunder.php index 28ae1d5..c9a1796 100644 --- a/woocommerce-wuunder.php +++ b/woocommerce-wuunder.php @@ -31,7 +31,7 @@ class Woocommerce_Wuunder public static $plugin_path; public static $plugin_basename; - const VERSION = '2.0.4'; + const VERSION = '2.0.5'; public function __construct() {