Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Issues with refunding orders #117814
    Beats24-7
    Participant

    Ok, thank you very much.

    in reply to: Issues with refunding orders #117722
    Beats24-7
    Participant

    Ok, thanks. Is there a github post to track the progress? Thanks again.

    in reply to: Issues with refunding orders #117670
    Beats24-7
    Participant

    Hey @Moumimta,
    sure. I never refund orders partially, only the complete order/payment. So when I refund a parent order all linked sub orders should be set to refunded as well, if possible. Thanks

    in reply to: Issues with refunding orders #117382
    Beats24-7
    Participant

    Ok, thanks for the clarification on the first part. I will ask them.

    However, this is the third time you are ignoring my question about the custom code for auto refunding sub orders.

    Why?

    in reply to: Issues with refunding orders #117364
    Beats24-7
    Participant

    Hello,
    sure, but that was not my question…? Why did it change the “on hold” order to “completed” automatically after it has been refunded manually in Stripe? This has to be a bug. Please read my post properly and check this.

    Furthermore, what about the custom code? It’s not working so please don’t simply ignore this again…
    Thanks

    in reply to: Issues with refunding orders #117331
    Beats24-7
    Participant

    Hi Moumita,
    1. I am using the WooCommerce Stripe plugin.

    2. Ok, I understand that. However, I asked that question a couple of months ago already but I didn’t get any reply. The link you sent does not provide code for refunding orders automatically and this one I changed it to doesn’t work:

    
    //Auto complete sub orders to refunded
    add_action( 'woocommerce_order_status_refunded', 'wcmp_suborder_status_change_to_refund' ); 
       function wcmp_suborder_status_change_to_refund( $order_id ) { 
        global $WCMp;  
        $suborder_details = get_wcmp_suborders( $order_id );  
        foreach ( $suborder_details as $key => $value ) { 
            $suborder_fetch = array('ID' => $value->get_id(),'post_status'=> 'wc-refunded',);    
        wp_update_post( $suborder_fetch );  } 
    }  
    

    Thanks again

    in reply to: Issues with refunding orders #117261
    Beats24-7
    Participant
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
Shopping Cart
Scroll to Top