When a customer places an order and selects to pay with bank transfer, the order status is set to 'Awaiting Payment', and they get an email notification immediately of the order they placed.
When they choose 'Cash on delivery' or 'Pay in Store', the order status is set to 'Awaiting Payment', but it never sends an email notification.
I also notice 'Paypal' paid orders which also are set to 'Awaiting Payment' until payment is registered from paypal when it gets automatically changed to 'Awaiting Fulfillment' status, also doesn't send notification emails.
Is the email notification triggered by the payment module?
When they choose 'Cash on delivery' or 'Pay in Store', the order status is set to 'Awaiting Payment', but it never sends an email notification.
I also notice 'Paypal' paid orders which also are set to 'Awaiting Payment' until payment is registered from paypal when it gets automatically changed to 'Awaiting Fulfillment' status, also doesn't send notification emails.
Is the email notification triggered by the payment module?
In General
Share this post:
Responses (7)
-
Accepted Answer
It's triggered by order status, set in your stores settings, normally.
Look at the checkout section: https://arastta.org/docs/user-manual/system/settings/option
Also, if you search the forum and issues you'll find:
https://arastta.org/forum/strange-email-problem#reply-1393
https://github.com/arastta/arastta/issues/398
https://github.com/arastta/arastta/pull/404#issuecomment-208938388
I agree it's confusing ... -
Accepted Answer
Ok so the first solution isn't any good. Nothing appears to have any settings related to new order emails.
But this suggestion:
Also, if you search the forum and issues you'll find:
https://arastta.org/forum/strange-email-problem#reply-1393
This does help.
I fixed one of the payment methods, but the Paypal module has the same issue, but the code isn't quite the same.
$this->model_checkout_order->addOrderHistory($order_id, $order_status_id);
} else {
$this->model_checkout_order->addOrderHistory($order_id, $this->config->get('config_order_status_id'));
}
The coding is slightly different where they use $order_id and your solution uses data['order_id']
I don't feel comfortable screwing around with it. This should be something that's fixed correctly and updated in the marketplace.
I did try this but still didn't work:
$this->model_checkout_order->addOrderHistory($order_id, $this->config->get('config_order_status_id'), ;;, true);
-
Accepted Answer
Breck Demers wrote:
Ok so the first solution isn't any good. Nothing appears to have any settings related to new order emails.
Denis Duliçi wrote:
Thanks Rune for the PR. However, this will override the "Complete Order Status" in the Settings => Option tab. Notification emails are sent only if the order status matches one of the selected statuses there. -
Accepted Answer
Doesn't make much sense. The description for that setting says the status a order must be before downloadable content and gift vouchers are accessible.
That would be after payment is received. Doesn't provide an email notice at the time where your still waiting for payment.
Like I said, I have fixed the payment modules with your fix except the paypal module which still doesn't work.
I tried tinkering with it last night but never got it to work. -
Accepted Answer
Did you actually care to read the content on the links provided, did you even care to read what I wrote above, especially the part in red text?
Did you care to comment on the issue, to try to make a change?
Did you care to propose a change for the docs?
Did you care to propose a change for the language files?
Please stop the nagging and try to make a change instead.
Rune Rasmussen wrote:
It's triggered by order status, set in your stores settings, normally.
Look at the checkout section: https://arastta.org/docs/user-manual/system/settings/option
Also, if you search the forum and issues you'll find:
https://arastta.org/forum/strange-email-problem#reply-1393
https://github.com/arastta/arastta/issues/398
https://github.com/arastta/arastta/pull/404#issuecomment-208938388
I agree it's confusing ... -
Accepted Answer
Well I guess this forum isn't like all the other forums of applications where issues are brought up, discussed and help provided to find a solution to fix the problem for the entire community.
Please delete my account and all my posts.
I didn't think asking questions to problems with the cart would have people shit on by someone who is unprofessional.
If this is your only person to provide support, I guess everyone will eventually get shit on.
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »