Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I think that the email service task is trying to get the email template item from the english language layer. I have setup the Checkout pipeline to send email confirmations and it just gives me an empty email. In my site, I have only one language layer - Danish. As soon as I added English language and set up a template node for the english layer I've got an email with right content from the item.
uCommerce grabs the e-mail content based on current culture found on Thread.CurrentThread.CurrentCulture.
One thing that we've seen is that if you don't have a hostname setup Umbraco won't sync the two cultures found on a thread: CurrentUICulture and CurrentCulture. CurrentUICulture is picked up from the browser and CurrentCulture is set to default by .NET.
Might that be what you're seeing?
As a test I setup my dev install to work with Danish and English and uCommerce did pick up the expected e-mail template.
Did you setup a different template for Danish? (Silly question but I have to ask).
I made a test where I include in the email template item the culture and UIculture information. So when I get the confirmation email, I have this:
culture: da-DKuiculture: da-DK
However, the subject of the email is in english, ("Order confirmation") instead of danish one ("Ordrebekræftelse").
Now here is what I did before this: when I saw that I get empty emails I did some debug and got the suspicion that it's trying to use the email template configured on english culture. So I added the english language in umbraco and choose the email node on the profile for the english culture and after that I started to get the mail content from the item. Then I deleted the english language, but still continued to receive content in email. So now it works "by mistake", just because the en-US description still exists in the database after the english language was deleted.
The site domain is configured to use Danish and the catalog is bound to this domain.
Which version of uCommerce are you running?
What does the contents of your uCommerce_EmailContent table look like?
Here I make a put in a screenshot.
I just noticed another thing. I've been looking into why the dibs payment interface is in English and found out that the language parameter is taken from this:
When I display this value in an umbraco page, it comes out as "da", but when the payment request is posted to dibs the language param is "en". I guess it must be a configuration I'm missing somewhere.
uCommerce 1.2 includes a fix for the issue you reported with regards to language and the DIBS payment provider.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted