Issue: It's automatically invoicing when order state pending payment  

Cause and solution: I have removed that order status new checking condition. Because after I adding new order status it not got removed. Everytime it comes default status and it make order completed. So I have removed that condition and now only have processing condition 

If you need any further support, please feel free to contact us at sales@bsscommerce or via our support portal.