Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Auto withdrawal requests
- This topic has 1 reply, 1 voice, and was last updated 5 years ago by Jose Solsona.
Viewing 1 reply thread
- AuthorPosts
- November 26, 2019 at 2:50 pm #94025Jose SolsonaParticipant
Hi
I want to receive automatic withdrawal request.
See the attached image to see my settings.I’ve set it by Order Complete but don’t receive any withdrawal request afer the pay is complete.
See image 2.
PS: I’ve added a code to functions.php that auto complete the order.
All orders pass from Processing to Complete.This code:
/** * Auto Complete all WooCommerce orders. */ add_action( 'woocommerce_thankyou', 'custom_woocommerce_auto_complete_order' ); function custom_woocommerce_auto_complete_order( $order_id ) { if ( ! $order_id ) { return; } $order = wc_get_order( $order_id ); $order->update_status( 'completed' ); }
I’ve also set 90% of comission for the vendor.
Attachments:
You must be logged in to view attached files. - November 26, 2019 at 3:32 pm #94040Jose SolsonaParticipant
Solved.
Was be because the payment details were not completed.
- AuthorPosts
Viewing 1 reply thread
- The topic ‘Auto withdrawal requests’ is closed to new replies.