Zen Cart Logo
Forums / Bug Reports / [Done v1.3.9] Paypal IPN order confirmation email / html emails

[Done v1.3.9] Paypal IPN order confirmation email / html emails

Locked

Views: 2,794

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
4 Sep 2008, 1:04 PM
#1
svschouw avatar

svschouw

New Zenner

Join Date:
Oct 2007
Posts:
2
Plugin Contributions:
0

[Done v1.3.9] Paypal IPN order confirmation email / html emails

We have the problem that paypal order confirmation emails are not being send. We are running Zen Cart 1.3.8a and use a language other than enlish.

Furthermore html emails are not generated.

The problem is: in includes/functions/functions_email.php around line 392, the function is looking for a html message template in emails/<LANGUAGE_CODE>/. When it cannot find it, it uses the messageStack to issue a warning.

With paypal IPN however, the message stack is not loaded, so this generates a php error and the message is never send.

However, it is not clear to me why the code shouldn't fall back to the english (default) templates. As far as I see the templates don't really contain any language-specific things. All the messages are translated anyway.

Of course the simple solution is to just copy all templates to a <LANGUAGE_CODE> directory, but that's not really elegant.

The fix to the paypal problem is already proposed here: http://www.zen-cart.com/forum/showthread.php?t=84507&page=2