WCMp Core
-
AuthorPosts
-
-
March 10, 2021 at 1:07 AM #117260Beats24-7Participant
Hey 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 #117261Beats24-7ParticipantThis reply has been marked as private.
-
March 10, 2021 at 7:03 PM #117322NerdySupportExpert MoumitaKeymaster
Hi @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: http://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: http://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 #117331Beats24-7Participant
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 ); } }
CopyThanks again
-
March 11, 2021 at 5:29 PM #117360MVX Support NinjaKeymaster
Hello,
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 #117364Beats24-7Participant
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 -
March 11, 2021 at 6:55 PM #117375NerdySupportExpert MoumitaKeymaster
As 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 #117382Beats24-7Participant
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?
-
March 12, 2021 at 6:42 PM #117452NerdySupportExpert MoumitaKeymaster
@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 #117670Beats24-7Participant
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 -
March 17, 2021 at 6:53 PM #117713MVX Support NinjaKeymaster
Thank 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 #117722Beats24-7Participant
Ok, thanks. Is there a github post to track the progress? Thanks again.
-
March 18, 2021 at 10:08 AM #117739MVX Support NinjaKeymaster
Sorry 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 #117794MVX Support NinjaKeymaster
I have created one git link : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/761
-
March 18, 2021 at 10:55 PM #117814Beats24-7Participant
Ok, thank you very much.
-
March 19, 2021 at 10:10 AM #117830MVX Support NinjaKeymaster
We will keep you posted.
-
-
AuthorPosts
The forum ‘WCMp Core’ is closed to new topics and replies.