This question already has an answer here:
- Invoice emails are not being sent 1 answer
Magento 18.104.22.168 and I use
Paypal Express Checkout. The issue is that invoice emails are not automatically sent. It says at the invoice details page "the invoice email is not sent”.
Can someone tell me whats the issue here?
I looked at the IPN file at “\app\code\core\Mage\Paypal\Model\Ipn.php” and in the function _registerPaymentCapture() is generating ‘NULL’ at the line
$invoice = $payment->getCreatedInvoice()
Because of this, I cant do the regular hack recommended everywhere: