• Resolved suprdave007

    (@suprdave007)


    Hello,

    Recent update to the Stripe plugin for Woocommerce took away the ability to edit pre-authorized orders. We need the ability to edit since we do not have live inventory. We need to be able to lessen quantities, sub for equal value or less products, remove products from the order, and/or change the value of shipping if we find that it is less.

    Steps taken thus far. Our IT guys turned off plugin and it gave us the ability back. They started to turn them on one by one until they found the plugin that cause the issue. It was the Stripe plugin. It is what we use as a processor. I then contacted Stripe. Spoke with them and they assure I should have the ability to do what I need to do from their end. They insisted I contact woocommerce as it is an interrogation issue with woo. Thus it brought me to here.

    We have the current version of the Stripe plugin, Woocomerce Stripe Gateway v9.1.1

    The only way I can edit the orders right now is to deactivate the plugin, make my changes, and then reactivate. That runs a risk on missing out on a sale if someone tries to purchase something from the website during that time frame that it is deactivated.

    Please help and TIA!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Josh Hartman

    (@joshhartman)

    A client of mine is experiencing the same issue with version 9.1.1. They cannot adjust shipping costs for a pre-authorized order. I have rolled back the Stripe plugin to version 9.0.0 and the editing functionality is back. Please resolve this issue.

    Thread Starter suprdave007

    (@suprdave007)

    Yeah, in order for me to make the changes, I have to deactivate the plugin, make my changes, and reactivate. I don’t like it because I run a risk on missing out on a sale, but I need to edit the order.

    Josh Hartman

    (@joshhartman)

    You can share the following code snippet with your IT department and see if they wish to implement it in your theme’s functions.php or a mu-plugin. It prevents the plugin’s hook from running that disables the editing function on uncaptured orders.

    add_action( 'init', 'enable_edit_for_uncaptured_stripe_orders_filter' );
    function enable_edit_for_uncaptured_stripe_orders_filter() {
    if ( class_exists( 'WC_Stripe_Order_Handler' ) ) {
    $instance = WC_Stripe_Order_Handler::get_instance();
    remove_filter( 'wc_order_is_editable', [ $instance, 'disable_edit_for_uncaptured_orders' ], 10 );
    }
    }
    Plugin Author mayishaa

    (@mayishaa)

    We have fixed this issue. The pre-authorized orders are going to be editable again from the next version (9.2.0).

    Related GitHub issue: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/3723

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.