Create invoice if Payment action is set to capture

The `authorize` mode requires a store owner to create an invoice manually while capturing the funds. In this case order goes into the `Processing` state. This is correct now.

The `capture` mode  assumes an immediate withdrawal  that's why it should create an invoice automatically right after a successful pingback. 
In this case order goes into the `Processing` state in case it requires a Shipment or is switched into the `Complete` state by Magento if  it contains virtual goods (services or downloadable items) only.