Implemented a solution for correct processing of order confirmation emails
Change to order confirmation email sequence, so that order confirmation and invoice email are sent only when the payment is complete
Change to order confirmation email sequence, so that order confirmation and invoice email are sent only when the payment is complete