Our customers are receiving the customer confirmed email before payment
We have a local third party payment provider which when the customer proceeds to order takes them to an external payment portal. When this happens they receive the order confirmation email even before paying.
Is there any settings to change the trigger for sending confirmation email?