- This topic has 15 replies, 4 voices, and was last updated 4 years, 11 months ago by
MVX Support Ninja.
-
AuthorPosts
-
-
March 10, 2021 at 1:07 AM #117260
Beats24-7
ParticipantHey there,
I had two issues with refunding orders lately. I also tested this on a staging site with only WooCommerce and WCMp. Please let me know if you’re able to recreate this.1. An order that has been marked as hold due to a Stripe review operation is marked as completed as soon as you refund the payment in Stripe. This should not happen as it sends out a complete order e-mail to the customer although the order has been refunded. After a manual refund in Stripe the order should be set to refunded or don’t do anything at all so we can set it to refunded manually. See here: http://www.prnt.sc/10hd5dl
-
March 10, 2021 at 1:08 AM #117261
Beats24-7
ParticipantThis reply has been marked as private. -
March 10, 2021 at 7:03 PM #117322
NerdySupportExpert Moumita
KeymasterHi @Beats24-7, our replies are inline :
1. An order that has been marked as hold due to a Stripe review operation is marked as completed as soon as you refund the payment in Stripe. This should not happen as it sends out a complete order e-mail to the customer although the order has been refunded. After a manual refund in Stripe the order should be set to refunded or don’t do anything at all so we can set it to refunded manually. See here: https://www.prnt.sc/10hd5dl
>> Are you using WooCommerce Stripe plugin or WCMp Stripe Marketplace plugin?
=============================================================================2. Refunding a parent order does not set sub orders as refunded as well. They remain completed. Is this a wanted behaviour because your plugin cannot recognize if the complete payment has been refunded and if all or just a part of the sub orders need to be marked as refunded? Or is this a bug? Let me know. See here: https://www.dropbox.com/s/iuzla5f92eocmgi/Sub%20orders%20get%20completed%20when%20parent%20order%20refunded.avi?dl=0
>> A parent order may have orders from many vendors, hence main can have many suborders. So, if you change the status of the main order, that doesn’t mean that status applies to other vendor’s orders too.
However, you can change the status of the sub order, if the parent order is changed too, by adding a custom code. This link will help you out further: https://multivendorx.com/support-forum/topic/suborders-not-completing/#post-104440
-
March 10, 2021 at 9:24 PM #117331
Beats24-7
ParticipantHi 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
-
March 11, 2021 at 5:29 PM #117360
MVX Support Ninja
KeymasterHello,
By default flow, in WCMp money is refunded manually. However we do have a plan to introduce automatic refund using stripe gateway in our future enhancement.
-
March 11, 2021 at 5:56 PM #117364
Beats24-7
ParticipantHello,
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 -
March 11, 2021 at 6:55 PM #117375
NerdySupportExpert Moumita
KeymasterAs we can understand, Stripe is manually reviewing that order and has sent you the order status as complete.
Please note, this whole flow is getting carried out by Stripe plugin and WooCommerce. WCMp is not controlling any of this.I would request you to contact WooCommerce Stripe plugin author, they will be able to help you out better. Please do keep us posted.
-
March 11, 2021 at 7:18 PM #117382
Beats24-7
ParticipantOk, 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?
-
March 12, 2021 at 6:42 PM #117452
NerdySupportExpert Moumita
Keymaster@Beats24-7, can you please share the flow you need for this i.e. how should auto refund work, so we can help you out.
-
March 17, 2021 at 1:08 AM #117670
Beats24-7
ParticipantHey @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 -
March 17, 2021 at 6:53 PM #117713
MVX Support Ninja
KeymasterThank you for sharing the details. We do have a plan to introduce this flow in our feature update.
-
March 17, 2021 at 9:27 PM #117722
Beats24-7
ParticipantOk, thanks. Is there a github post to track the progress? Thanks again.
-
March 18, 2021 at 10:08 AM #117739
MVX Support Ninja
KeymasterSorry we do not have any github link at the moment as it is in our future enhancement list.
-
March 18, 2021 at 5:41 PM #117794
MVX Support Ninja
KeymasterI have created one git link : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/761
-
March 18, 2021 at 10:55 PM #117814
Beats24-7
ParticipantOk, thank you very much.
-
March 19, 2021 at 10:10 AM #117830
MVX Support Ninja
KeymasterWe will keep you posted.
-
-
AuthorPosts
- You must be logged in to reply to this topic.






