Hi, I have a strange problem, I've installed arastta before and everything worked fantastic, I've just installed for another client and have a strange problem in the fact order emails are not going out, I've checked all settings and both installs are exactly the same, I've even deleted the second install and tried again but it's the same, does anybody have any hints why

Cheers all
Friday, April 01 2016, 01:41 PM
Share this post:

Accepted Answer

Saturday, April 02 2016, 08:16 PM - #Permalink
You're right, it's a bug in this module (or the addOrderHistory function), and probably others too (like Free Checkout).

Quickfix -> In the file /catalog/controller/payment/cod.php find the last code line reading:
$this->model_checkout_order->addOrderHistory($this->session->data['order_id'], $this->config->get('cod_order_status_id'));


Try to change it into (adding: , '', true):
$this->model_checkout_order->addOrderHistory($this->session->data['order_id'], $this->config->get('cod_order_status_id'), '', true);
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Friday, April 01 2016, 04:25 PM - #Permalink
    Same Arastta version?
    Same server and/or server settings?
    Is the email address at same domain as store?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2016, 05:07 PM - #Permalink
    Hi, Thanks for the quick reply
    It's the latest version we are using now 1.2.7 it was 1.2.6 before
    Yes same server
    and yes the email address is the same as the domain.

    Registration emails go out fine, but not shop emails.

    I've just done another clean install through cpanel file manager and the same is happening, it's strange
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2016, 06:44 PM - #Permalink
    As an update I think i'm getting somewhere, if I select cash on delivery only in admin, no order emails come through, If I add bank transfer and select on the front end the order emails come through perfectly.

    Is this how it is set or is there a way round it?

    Cheers all
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2016, 09:07 PM - #Permalink
    Do the orders get same order status in "Cash On Delivery" and "Bank Transfer"?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2016, 09:15 PM - #Permalink
    Hi Rune
    Do you mean in admin, if so yes, they are both pending in admin, the cash on delivery doesn't send an email to admin when ordered, the Bank Transfer sends an email, this is fine with me, I can edit the language files to suit, i'm thinking it might be a problem for others.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 04 2016, 12:48 PM - #Permalink
    Perfect thanks Rune, excellent work :D
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 06 2017, 05:21 PM - #Permalink
    @rune my current version is 1.5.0 , i don't receive any confirmation email on checkout using cod payment method, i tried your quick fix method but still same result.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 06 2017, 05:32 PM - #Permalink
    Check that you actually did it right, then clear your cache. Beyond that, I can not help.
    Btw! Update to 1.5.1, it's better.

    Anyhow: https://github.com/arastta/arastta/issues/398
    The reply is currently minimized Show
Your Reply