I want to attach invoice PDF to new order email. Its working for the orders which are completed using Credit Card payment method as invoice is created before order completion in cc case. I want to accomplish same when Cash On Delivery payment method is used. Currently i am creating invoice when order gets completed but i want invoice to be created before so pdf gets attached to new order email.
Hope my question make sense.
Well invoice gets created when orders completed, in case of Cash on delivery order status should be "pending" so won't possible by default.. although certainly possible through customization.
P.S - If change as completed at order place time then become little difficult to identify which orders payment you've received in case of COD.