Home › Forums › Ticket Products › Event Tickets Plus › Randomly orders are marked as Processing when Auto complete option is ticked
- This topic has 4 replies, 4 voices, and was last updated 9 years, 5 months ago by
Tac.
-
AuthorPosts
-
October 17, 2016 at 9:10 pm #1178139
Tac
ParticipantHi,
Recently, we upgraded our plugins to 4.2.7 from older version and not all orders are marked as “completed”. This is causing a lot of issues lately such as tickets are not being issued and we have to check Admin/Dashboard for any “in processing” orders and manually mark as completed.
To add, we have ticked the option under Woocommerce support in the plugin to try to mark all orders as complete.
Thanks.
October 17, 2016 at 9:12 pm #1178140Tac
ParticipantWe also has this snipped in function.php
* 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’ );
}October 18, 2016 at 2:50 pm #1178701Geoff B.
MemberGood evening Tic Tac and welcome back!
Thank you for reaching out to us.
We are sorry to hear about the upgrade not being a smooth experience so far.
I would love to help you with this topic.Recently, we upgraded our plugins to 4.2.7 from older version and not all orders are marked as “completed”.
As a first troubleshooting step, could you please provide us with your latest system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Could you also tell me which version you upgraded from ?
If I understand correctly, the issue is that previously the orders where being autocompleted properly and now, new orders are not.
The snippet you shared is actually from WooCommerce’s website: https://docs.woocommerce.com/document/automatically-complete-orders/
Normally, that impacts all WooCommerce orders, regardless of their origin Event Tickets or other. So that should still work.
Could you tell me which payment gateway was used for the transactions where the status was not set to “complete” automatically ?
Best regards,
Geoff B.
November 9, 2016 at 8:35 am #1189697Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Randomly orders are marked as Processing when Auto complete option is ticked’ is closed to new replies.
