I'm just starting to work with Store 2.x and wondering if it's possible for me to create an extension that updates the order status once the order is complete. I know I'm needing to use the 'store_order_complete_end' hook, but not sure how I can update the status at this point. Can somebody point me in the right direction? I'm basically wanting to update the status to one of 2 things depending on what products they are buying.
Thanks, Dan