Page 1 of 1

Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Fri Mar 06, 2020 1:43 pm
by vsnaustralia
There seems to be a bug in version 3.0.3.2. Here's a description:

(1) Payment Method is PayPal Express Checkout which is working fine
(2) Updated the order and added a checkmark to "Notify Customer" then clicked on "Add History" but no notification has been sent to the customer.

See screenshot: https://snipboard.io/4sdrkw.jpg

This issue doesn't occur when the payment method is Cash On Delivery.

Has anyone experienced this issue before and can someone please assist?

Thanks,

Ann

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Sat Mar 07, 2020 6:31 am
by straightlight
Not a bug.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Sat Mar 07, 2020 6:31 am
by straightlight
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Sat Mar 07, 2020 7:35 am
by Quino
but no notification has been sent to the customer.
How do you know?

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Mon Mar 09, 2020 6:44 pm
by paulfeakins
vsnaustralia wrote:
Fri Mar 06, 2020 1:43 pm
(2) Updated the order and added a checkmark to "Notify Customer" then clicked on "Add History" but no notification has been sent to the customer.
But when an order is placed with another payment gateway and this box is checked, they do receive the notification?

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 9:44 am
by vsnaustralia
Quino wrote:
Sat Mar 07, 2020 7:35 am
but no notification has been sent to the customer.
How do you know?
I did a test and sent it to myself and didn't receive the notification.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 9:45 am
by vsnaustralia
paulfeakins wrote:
Mon Mar 09, 2020 6:44 pm
vsnaustralia wrote:
Fri Mar 06, 2020 1:43 pm
(2) Updated the order and added a checkmark to "Notify Customer" then clicked on "Add History" but no notification has been sent to the customer.
But when an order is placed with another payment gateway and this box is checked, they do receive the notification?
I actually enable "Cash On Delivery" and did a test to myself and didn't get any notification either. Am I missing something here?

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 10:02 am
by straightlight
vsnaustralia wrote:
Tue Mar 10, 2020 9:45 am
paulfeakins wrote:
Mon Mar 09, 2020 6:44 pm
vsnaustralia wrote:
Fri Mar 06, 2020 1:43 pm
(2) Updated the order and added a checkmark to "Notify Customer" then clicked on "Add History" but no notification has been sent to the customer.
But when an order is placed with another payment gateway and this box is checked, they do receive the notification?
I actually enable "Cash On Delivery" and did a test to myself and didn't get any notification either. Am I missing something here?
Check your OC admin - > extensions - > events page. You should have at least 45 events listed in there.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 11:29 am
by vsnaustralia
Check your OC admin - > extensions - > events page. You should have at least 45 events listed in there.
[/quote]

Thank you and went into the path you said above but which one affects this issue? Which one should I disable?

In Open Cart's "Resources" section under Documentation, there is NO explanation of the "Events" section. "Documentation" needs updating perhaps for newbies?

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 11:40 am
by sw!tch
Dont disable any of them.

Code: Select all

mail_order_add
and

Code: Select all

mail_order_alert
Are the events responsible for sending order email.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 12:57 pm
by vsnaustralia
sw!tch wrote:
Tue Mar 10, 2020 11:40 am
Dont disable any of them.

Code: Select all

mail_order_add
and

Code: Select all

mail_order_alert
Are the events responsible for sending order email.
Ok... thank you. I'm still unsure on what I need to do in "Events" and how it is associated to my issue.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Tue Mar 10, 2020 7:24 pm
by straightlight
Look into your OC admin - > extensions - > events page. Do you see all events being active? You can simply roll-over on each rows on the right-end side and notice their statuses. Also, is your OC admin - > systems - > settings - > edit settings - > Mail form properly configured? Take a look at your cPanel > Email Accounts > < your email > Manage button > left-corner table at the bottom for the email SSL configurations. After configuring your email on SMTP settings, rather than Mail from the dropdown menu on the OC admin email form, on the hostname field, just add: ssl:// in front of your hostname.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Wed Mar 11, 2020 9:22 am
by vsnaustralia
straightlight wrote:
Tue Mar 10, 2020 7:24 pm
Look into your OC admin - > extensions - > events page. Do you see all events being active? You can simply roll-over on each rows on the right-end side and notice their statuses. Also, is your OC admin - > systems - > settings - > edit settings - > Mail form properly configured? Take a look at your cPanel > Email Accounts > < your email > Manage button > left-corner table at the bottom for the email SSL configurations. After configuring your email on SMTP settings, rather than Mail from the dropdown menu on the OC admin email form, on the hostname field, just add: ssl:// in front of your hostname.
All 46 Events are enabled. "Mail" is selected in settings because PHP mail function is enabled by default in the server. Do I have to use SMTP?

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Wed Mar 11, 2020 10:55 am
by straightlight
vsnaustralia wrote:
Wed Mar 11, 2020 9:22 am
straightlight wrote:
Tue Mar 10, 2020 7:24 pm
Look into your OC admin - > extensions - > events page. Do you see all events being active? You can simply roll-over on each rows on the right-end side and notice their statuses. Also, is your OC admin - > systems - > settings - > edit settings - > Mail form properly configured? Take a look at your cPanel > Email Accounts > < your email > Manage button > left-corner table at the bottom for the email SSL configurations. After configuring your email on SMTP settings, rather than Mail from the dropdown menu on the OC admin email form, on the hostname field, just add: ssl:// in front of your hostname.
All 46 Events are enabled. "Mail" is selected in settings because PHP mail function is enabled by default in the server. Do I have to use SMTP?
The SMTP step is already part of the instructions you have quoted on the above.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Wed Mar 11, 2020 11:17 am
by vsnaustralia
All 46 Events are enabled. "Mail" is selected in settings because PHP mail function is enabled by default in the server. Do I have to use SMTP?
The SMTP step is already part of the instructions you have quoted on the above.
My understanding of the Mail setting is to choose between "Mail" or "SMTP". "Mail" is what is chosen because PHP mail function is enabled. I don't have to use SMTP or complete the SMTP fields. Am I right?

Also, all 46 events are enabled. The Notify Customer is still not working. I'll have to do a work around if there's no other solution.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Wed Mar 11, 2020 2:05 pm
by letxobnav
You can use PHP mail but only if you are absolutely sure your mail settings are correct because that method does not do any error handling, not even if the mail function returns false, you will not know whether the mail has been send or accepted, just whether it arrives or not.
SMTP does have these error handling capabilities, then again SMTP is slower (because of that).
It's like comparing UTP with TCP.

Re: Notify Customer not sending notifications to customer in version 3.0.3.2

Posted: Wed Mar 11, 2020 7:46 pm
by straightlight
vsnaustralia wrote:
Wed Mar 11, 2020 11:17 am
All 46 Events are enabled. "Mail" is selected in settings because PHP mail function is enabled by default in the server. Do I have to use SMTP?
The SMTP step is already part of the instructions you have quoted on the above.
My understanding of the Mail setting is to choose between "Mail" or "SMTP". "Mail" is what is chosen because PHP mail function is enabled. I don't have to use SMTP or complete the SMTP fields. Am I right?

Also, all 46 events are enabled. The Notify Customer is still not working. I'll have to do a work around if there's no other solution.
Yes, use SMTP.