Plugin Directory

Changeset 2527106


Ignore:
Timestamp:
05/06/2021 07:34:35 AM (5 years ago)
Author:
askbux
Message:

Restock double posting handling

Location:
bux-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bux-woocommerce/trunk/bux-plugin.php

    r2526845 r2527106  
    44 * Plugin URI: https://bux.ph/static/bux-plugin-wp.zip
    55 * Description: Bux plugin for Woocommerce, you need to have Woocommerce installed
    6  * Version: 1.1.3
     6 * Version: 1.1.4
    77 * Author: UBX Philippines
    88 * Author URI: https://bux.ph
     
    103103        }
    104104
    105     if($order_status == "wc-cancelled" && $pre_order_status != "wc-cancelled"){
     105    if($order_status == "wc-cancelled" && $pre_order_status != "cancelled"){
    106106        #only restore stock if not yet cancelled
    107107        restore_order_stock($order);
    108108        $order->update_status( $order_status, __( 'Payment Expired/Cancelled', 'bux-gateway' ) );
    109     }else if($order_status == "wc-processing" && $pre_order_status != "wc-processing"){
     109    }else if($order_status == "wc-processing" && $pre_order_status != "processing"){
    110110        $order->update_status( $order_status, __( 'Payment Successful', 'bux-gateway' ) );
    111111    }else{
  • bux-woocommerce/trunk/readme.txt

    r2526845 r2527106  
    1010Requires PHP: 5.2.4
    1111Stable tag: 1.1.2
    12 Version: 1.1.3
     12Version: 1.1.4
    1313Donate link: https://bux.ph/
    1414
     
    6868* Restock on expired notification from bux
    6969
     70= 1.1.4 =
     71* Restock double posting handling
     72
    7073== Upgrade Notice ==
    7174
     
    9497* Restock on expired notification from bux
    9598
     99= 1.1.4 =
     100* Restock double posting handling
     101
    96102== Screenshots ==
    97103
Note: See TracChangeset for help on using the changeset viewer.