Plugin Directory

Changeset 3260839


Ignore:
Timestamp:
03/24/2025 01:42:08 PM (12 months ago)
Author:
mlmsoft
Message:

Version 3.9.2

Location:
mlm-soft-integration/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mlm-soft-integration/trunk/CHANGELOG.md

    r3257446 r3260839  
    22
    33## Changelog ##
     4
     5## 2025-03-24 - version 3.9.2
     6* EWalletApi: Added shipping tax to `shipping_total` property before creating coupon.
    47
    58## 2025-03-17 - version 3.9.1
  • mlm-soft-integration/trunk/integrations/woocommerce/paymentGateways/eWallet/EWalletApi.php

    r3212008 r3260839  
    114114        if ( $origin ) {
    115115            if ( 'checkout' == $origin ) {
     116               
    116117                $total = WC()->cart->total;
    117118                $subtotal = WC()->cart->subtotal;
    118                 $shipping_total = WC()->cart->get_shipping_total();       
     119                $shipping_total = WC()->cart->get_shipping_total();
     120               
     121                /**
     122                 * @since 3.9.2
     123                 */
     124                $shipping_total_tax = WC()->cart->get_shipping_tax();
     125                if ( $shipping_total_tax > 0 ) {
     126                    $shipping_total += $shipping_total_tax;
     127                }
     128               
    119129            } else {
     130               
    120131                $total = $order->get_total();
    121132                $subtotal = $order->get_subtotal();
    122133                $shipping_total = $order->get_shipping_total();
     134               
     135                /**
     136                 * @since 3.9.2
     137                 */
     138                $shipping_total_tax = $order->get_shipping_tax();
     139                if ( $shipping_total_tax > 0 ) {
     140                    $shipping_total += $shipping_total_tax;
     141                }
    123142            }               
    124143        }
  • mlm-soft-integration/trunk/mlm-soft-integration.php

    r3257446 r3260839  
    44Plugin Name: MLM Soft Integration
    55Description: WP integration with mlm-soft.com cloud platform
    6 Version: 3.9.1
     6Version: 3.9.2
    77Author: MLM Soft Ltd.
    88Author URI: https://mlm-soft.com
Note: See TracChangeset for help on using the changeset viewer.