Magento – Magento 2 – How to send e-mail to customer after order payment was successful

magento-2.1.2magento2order-email

How to send e-mail to customer after order payment was successful, right its sending before the success payment. So, disabled the Order Emails from Magento back-end, so order emails are stopped. But we need to send email for order confirmation to customer after the payment made (in this case Payumoney). May be through success page email trigger.

Best Answer

You need to use event observer. when payment captured status will be change. so you can write code in observer when status become paid(this just example) you will send email.

its depend on module some module give its inbuilt that you can set when to send email to customer. when order placed or when payment received.

hope it will help

Related Topic