We are using CE1.9.2.4 with all patches installed. We offer Paypal express checkout as a form of payment. Customers who are paying with paypal are not receiving the Magento order confirmation after completing payment and their order. We have checked our settings and they appear to be correct. We are receiving the payment IPN and the payment, and the order is showing as processing. The problem is only with paypal payments, customers using a credit card are no problem.
Are you using any other methods for payment?
If so, are the other methods using the old way of sending out emails, which is not to queue them.
Is your cronjob active and running correctly so that emails are being sent out?
You'll know this, because other emails will be sending.
We also accept credit cards using authorize.net.
"If so, are the other methods using the old way of sending out emails, which is not to queue them." Not sure exactly what you mean, but I don't believe they are being queue as far as I can tell.
These are the only e-mails we are having trouble with, all other e-mails are being sent
External link
But incase that link disappears it is as follows - Basically creating a module to send the emails.
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Name_Sales>
<version>0.1.0</version>
</Name_Sales>
</modules>
<global>
<models>
<sales>
<rewrite>
<observer>Name_Sales_Model_Observer</observer>
</rewrite>
</sales>
</models>
<events>
<sales_order_invoice_pay>
<observers>
<sales_notification_observer>
<type>singleton</type>
<class>sales/observer</class>
<method>sendInvoiceEmail</method>
</sales_notification_observer>
</observers>
</sales_order_invoice_pay>
</events>
</global>
</config>
<?php
/**
* Event sales_order_invoice_pay
*
*/
require_once 'Mage/Sales/Model/Observer.php';
class Name_Sales_Model_Observer extends Mage_Sales_Model_Observer {
public function sendInvoiceEmail($observer) {
$invoice = $observer->getEvent ()->getInvoice ();
switch ($invoice->getState ()) {
case Mage_Sales_Model_Order_Invoice::STATE_PAID :
try {
// Save first time the invoice to get an id and send the invoice to the customer with the correct id
$invoice->save ();
Mage::log ('Email sent to the customer by the Name/sales/observer - Invoice number ' . $invoice->getIncrementId(), Zend_Log::DEBUG );
$invoice->sendEmail ();
$invoice->setEmailSent ( true );
// Save a second time to save the EmailSent value
$invoice->save ();
} catch ( Exception $e ) {
$session = Mage::getSingleton ( 'core/session' );
$exception = new Exception ( Mage::helper('Sales')->__('Error during the email sending.'), 0 );
$session->addException ( $exception, Mage::helper('Sales')->__('Error to send invoice email. Please, contact the website administrator.') );
}
}
return $this;
}
}
/app/etc/modules/Name_All.xml
<?xml version="1.0"?>
<config>
<modules>
<Name_Sales>
<active>true</active>
<codePool>local</codePool>
</Name_Sales>
</modules>
</config>
Sorry to report, this did not solve the problem. E-mails still not being sent.
Hi,
This is wasim from india and looking for help to make column in grid view in order category. your help would be much appreciable ............thanks