I am using Vendr 3.0.11, Vendr Checkout 3.1.0, Umbraco 11. When i complete the payment step , I am not receiving any OrderConfirmation email. Although i can see in my backend umbraco that the process has been completed without any error.
I am getting all other emails except for this one.
Have you checked your spam folder? And have you tried using a dev SMTP service like Papercut to check the email is actually sending? It would be good to know if it’s not sending or if it’s just not being received
Yeah , I have checked my spam folder, unfortunately nothing in there. I have also checked mail server logs for when i was testing the Order. I can see the orders in umbraco. Its just the Order Confirmation email that its not being sent. Its even hitting the Order Confirmation template when debugging. Are there any required settings I could be missing?
Hmm, if you are seeing other emails being sent then I would imagine it should be all setup correctly, but the key thing is making sure your SMTP details in place in the web.config/app settings file.
If you debug into it, are you seeing any errors? Or is is there anything in the Umbraco log?
Hi, I have the same problem after upgrading to Vendr v3.0.11. The error I'm getting from the log viewer is down below. I'm using Papercut for testing purposes, and if I send an order confirmation email from the order editor in the backoffice for a specific language, it works fine, but after finalizing the order at checkout does not send any mail and goes into error. Before the upgrade, everything worked fine. I made the upgrade from Vendr v3.0.4
It's worth mentioning I use templates for order confirmation in two languages and there is a dictionary key for template view pointing for each language as well for the order subject line and Send to Customer option is checked.
In the database table vendrOrder, there is accurate langugaeIsoCode supplied. It looks to me like it can't find/read the proper dictionary key for the subject line and/or template view based on the current iso language code.
I tried to remove the template view dictionary key and left the subject line dictionary key and the result was that a confirmation email is received but in the email subject line there is its dictionary name instead of the proper subject line value based on langugaeIsoCode so it's definitely something regarding reading those dictionary keys and their values.
System.AggregateException: AsyncHelper.RunSync method threw an exception. (Value cannot be empty. (Parameter 'body'))
---> System.ArgumentException: Value cannot be empty. (Parameter 'body')
at Umbraco.Cms.Core.Models.Email.EmailMessage.ArgumentIsNotNullOrEmpty(String arg, String argName)
at Umbraco.Cms.Core.Models.Email.EmailMessage..ctor(String from, String[] to, String[] cc, String[] bcc, String[] replyTo, String subject, String body, Boolean isBodyHtml, IEnumerable`1 attachments)
at Vendr.Extensions.MailMessageExtensions.ToEmailMessage(MailMessage message)
at Vendr.Umbraco.Mail.UmbracoEmailSender.SendAsync(MailMessage message)
at Vendr.Common.Helpers.AsyncHelper.<>c__DisplayClass1_0.<<RunSync>b__0>d.MoveNext()
--- End of inner exception stack trace ---
at Vendr.Infrastructure.Resiliency.PollyExecutionStrategyBase.Execute[TResult](Func`1 operation, Func`1 verifySucceeded)
at Vendr.Core.Services.EmailTemplateService.SendEmail[TModel](EmailTemplateReadOnly emailTemplate, TModel model, String toEmailAddress, String languageIsoCode)
at Vendr.Core.Services.EmailTemplateService.SendEmail(EmailTemplateReadOnly emailTemplate, OrderReadOnly order)
at Vendr.Core.Events.Notification.Handlers.Order.SendFinalizedOrderEmail.Handle(OrderFinalizedNotification evt)
Ok, so the dictionary keys are something new I can look into. Would be good if Nidhi could confirm if are also using dictionary keys in their email template settings?
Ok, so I'm trying to replicate this as simply as I can so I'm seeing if I trigger the "Send Email" dialog in the back office for an email template with a dictionary value, does it fail to send, but it seems to be sending ok locally.
Can you confirm in your installs if the "Send Email" button in the back office does actually work for you? Or does it also fail to send?
Using the demo store, I've setup a second language (Danish) and configured my email template to have a dictionary value for the view path, with both entries pointing to the same view.
I then create an order, and force it's language to Danish. I then add a product to the order and checkout. With all this, I still receive an order confirmation email.
Are either of you able to replicate this at all on the demo store?
thank you for the quick response, as I mentioned in my previous post, sending emails by triggering the "Send Email" dialog in the back office works fine.
However, doesn't send a confirmation email during the checkout process (using Vendr Checkout) after the customer pays for his order, and then when a confirmation order email needs to be sent to a customer fails with an error.
Didn't test it on the demo store yet, but I'll post the results here ASAP.
For me in my project its neither sending email via the button in the back office, nor it sends email via the checkout process. I cannot see any error related to that as it just spins and next do nothing for the back button.
Also I tried demo store and added another language English (New Zealand) and tried the Send email button in back office and it threw
Not sure if I am missing any particular setting or what.
I have tested everything with the Demo Store and can confirm that everything works for my settings.
Maybe there was something wrong with the database after the upgrade, so I guess I would need to start with a fresh install and empty database to get this working on a current project.
Thanks, Matt for your effort, after I set up a fresh project I'll post here if everything works as well.
Vendr OrderConfirmation Email not working
Hi
I am using Vendr 3.0.11, Vendr Checkout 3.1.0, Umbraco 11. When i complete the payment step , I am not receiving any OrderConfirmation email. Although i can see in my backend umbraco that the process has been completed without any error.
I am getting all other emails except for this one.
Is anyone else getting the same problem.
Thanks
Have you checked your spam folder? And have you tried using a dev SMTP service like Papercut to check the email is actually sending? It would be good to know if it’s not sending or if it’s just not being received
Yeah , I have checked my spam folder, unfortunately nothing in there. I have also checked mail server logs for when i was testing the Order. I can see the orders in umbraco. Its just the Order Confirmation email that its not being sent. Its even hitting the Order Confirmation template when debugging. Are there any required settings I could be missing?
Hmm, if you are seeing other emails being sent then I would imagine it should be all setup correctly, but the key thing is making sure your SMTP details in place in the web.config/app settings file.
If you debug into it, are you seeing any errors? Or is is there anything in the Umbraco log?
Hi, I have the same problem after upgrading to Vendr v3.0.11. The error I'm getting from the log viewer is down below. I'm using Papercut for testing purposes, and if I send an order confirmation email from the order editor in the backoffice for a specific language, it works fine, but after finalizing the order at checkout does not send any mail and goes into error. Before the upgrade, everything worked fine. I made the upgrade from Vendr v3.0.4
It's worth mentioning I use templates for order confirmation in two languages and there is a dictionary key for template view pointing for each language as well for the order subject line and Send to Customer option is checked.
In the database table vendrOrder, there is accurate langugaeIsoCode supplied. It looks to me like it can't find/read the proper dictionary key for the subject line and/or template view based on the current iso language code.
I tried to remove the template view dictionary key and left the subject line dictionary key and the result was that a confirmation email is received but in the email subject line there is its dictionary name instead of the proper subject line value based on langugaeIsoCode so it's definitely something regarding reading those dictionary keys and their values.
Ok, so the dictionary keys are something new I can look into. Would be good if Nidhi could confirm if are also using dictionary keys in their email template settings?
Hi,
Yes, we are also using dictionary keys in email template settings.
Ok, so I'm trying to replicate this as simply as I can so I'm seeing if I trigger the "Send Email" dialog in the back office for an email template with a dictionary value, does it fail to send, but it seems to be sending ok locally.
Can you confirm in your installs if the "Send Email" button in the back office does actually work for you? Or does it also fail to send?
In fact, I'm struggling to replicate this at all.
Using the demo store, I've setup a second language (Danish) and configured my email template to have a dictionary value for the view path, with both entries pointing to the same view.
I then create an order, and force it's language to Danish. I then add a product to the order and checkout. With all this, I still receive an order confirmation email.
Are either of you able to replicate this at all on the demo store?
Hi Matt,
thank you for the quick response, as I mentioned in my previous post, sending emails by triggering the "Send Email" dialog in the back office works fine.
However, doesn't send a confirmation email during the checkout process (using Vendr Checkout) after the customer pays for his order, and then when a confirmation order email needs to be sent to a customer fails with an error.
Didn't test it on the demo store yet, but I'll post the results here ASAP.
Can you Nidhi add some insight on that?
For me in my project its neither sending email via the button in the back office, nor it sends email via the checkout process. I cannot see any error related to that as it just spins and next do nothing for the back button.
Also I tried demo store and added another language English (New Zealand) and tried the Send email button in back office and it threw
Not sure if I am missing any particular setting or what.
That error would suggest it is failing to connect to the SMTP server so I would check the SMTP details in app settings.
I have tested everything with the Demo Store and can confirm that everything works for my settings.
Maybe there was something wrong with the database after the upgrade, so I guess I would need to start with a fresh install and empty database to get this working on a current project.
Thanks, Matt for your effort, after I set up a fresh project I'll post here if everything works as well.
Hi Matt
I can confirm that order conformation emails are working for me both for demo store and my project.
Thanks a lot for your effort.
Excellent. Glad we got it working for you 👍🏻
is working on a reply...