diff --git a/helloextend-protection/includes/class-helloextend-protection-orders.php b/helloextend-protection/includes/class-helloextend-protection-orders.php index 55d800a..e7cfe5c 100644 --- a/helloextend-protection/includes/class-helloextend-protection-orders.php +++ b/helloextend-protection/includes/class-helloextend-protection-orders.php @@ -245,8 +245,8 @@ public function helloextend_get_plans_and_products($order, $fulfill_now = false) 'id' => $product->get_id(), 'title' => $product->get_name(), 'category' => $first_category, - 'listPrice' => $this->get_price_in_cents($product->get_regular_price() * 100), - 'purchasePrice' => $this->get_price_in_cents($product->get_price() * 100), + 'listPrice' => $this->get_price_in_cents($product->get_regular_price()), + 'purchasePrice' => $this->get_price_in_cents($product->get_price()), 'purchaseDate' => $order->get_data()['date_created']->getTimestamp() * 1000, 'imageUrl' => $image_url ),