Try the Demo

Magento Forum

   
“Customer Not Notified” instead of “Customer Notified”
 
nico5
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2008-02-20
France
 

Hi,

When a customer place an order, in the backoffice you see “Customer Notified” but for certain payment methods no email was sent.
Is it possible to set “Customer Not Notified” when no email was sent ?

Thanks.

 Signature 

Expert Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
nico5
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2008-02-20
France
 

Ok, I fix the problem ...

My payment module use a class that extends Mage_Payment_Model_Method_Abstract.
In my payment class I have to place that code in the validate() function :

$quote Mage::getSingleton('checkout/session')->getQuote();
$quote->setCustomerNoteNotify(false);
parent::validate();

When a customer place an order using my payement module, this order comment will be set to “Customer Not Notified”.

 Signature 

Expert Magento

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top