You can achieve this from admin and need one change on system.xml Add below code:
Default Order Statuses in Magento 2. To check the list of predefined order statuses, go to Stores - Order Status. You'll see all the existing statutes in the store. Set ...
The status of each order is shown in the Status column of the Orders grid. Your store has a set of predefined order status and order state ...
Select the state that you want to assign for your status. Remember to check the box before “Use Order Status As Default”. Then click “Save Status ...
In the Order Status grid, open the status record in edit mode. · Update the status settings as needed. · Click Save Status.
i am new in Magento world. i have 1.4.2 currently when a customer place an order using Paypal the order status will be processing. I need to be ...
Default Order Statuses and Order States · New Order = A new order has been made · Pending Payment = Payment is pending but not received ...
Go System>Configuration >Payment Method > Cash On Delivery. And set the state to pending.
A simple solution. When you look at the system.xml -file of Magento's default payment module, you'll see that for the dropdown of each ...
I found this page but it doesn't seem to work: problem in magento default order status changes