Plugin Directory

Changeset 3359410


Ignore:
Timestamp:
09/10/2025 07:10:19 PM (7 months ago)
Author:
helloextend
Message:

Hotfix: fixed double scaling of product price during Extend order creation

Location:
helloextend-protection/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • helloextend-protection/trunk/helloextend-protection.php

    r3358723 r3359410  
    1717 * Plugin URI:        https://docs.extend.com/docs/extend-protection-plugin-for-woocommerce
    1818 * Description:       Extend Protection for Woocommerce. Allows WooCommerce merchants to offer product and shipping protection to their customers.
    19  * Version:           1.2.0
     19 * Version:           1.2.1
    2020 * Author:            Extend, Inc.
    2121 * Author URI:        https://extend.com/
  • helloextend-protection/trunk/includes/class-helloextend-protection-orders.php

    r3358723 r3359410  
    246246                        'title'         => $product->get_name(),
    247247                        'category'      => $first_category,
    248                         'listPrice'     => $this->get_price_in_cents($product->get_regular_price() * 100),
    249                         'purchasePrice' => $this->get_price_in_cents($product->get_price() * 100),
     248                        'listPrice'     => $this->get_price_in_cents($product->get_regular_price()),
     249                        'purchasePrice' => $this->get_price_in_cents($product->get_price()),
    250250                        'purchaseDate'  => $order->get_data()['date_created']->getTimestamp() * 1000,
    251251                        'imageUrl'      => $image_url
  • helloextend-protection/trunk/readme.txt

    r3358723 r3359410  
    66Requires at least: 4.0
    77Tested up to: 6.8
    8 Stable tag: 1.2.0
     8Stable tag: 1.2.1
    99Requires PHP: 7.4
    1010License: GPLv2 or later
     
    8080== Changelog ==
    8181
     82= 1.2.1 2025-09-09 =
     83 * Hotfix: Resolved price being double scaled on order creation
     84
    8285= 1.2.0 2025-09-09 =
    8386 * Feature - Customers now have the option to purchase a protection plan after their initial purchase. Contact Extend to learn more.
Note: See TracChangeset for help on using the changeset viewer.