Problems with paypal express checkout welcome email
Hi all am using zen cart 1.3.8a and have website payments pro running with express checkout. I have it set so if they pay with express checkout it automatically creates an account for them.
the problem is that the welcome email that gets sent to the customer when they pay with express checkout with there login info is all messed up.
the email subject says = EMAIL_SUBJECT
and the body of the email looks like this
EMAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXT
Code:
Your account login details, which you can use to review your purchase, are
as follows:
Username: [email protected]
Password: xxxxxxxx
EMAIL_CONTACT
This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error, please send an email to
[email protected]
This email is sent in accordance with the US CAN-SPAM Law in effect
01/01/2004. Removal requests can be sent to this address and will be honored
and respected.
as you can see it looks like the correct info isnt being sent to it. ive searched the developers tool kit for EMAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXT but nothing comes up.
does anyone know how to fix this??
please let me know thanks
Re: Problems with paypal express checkout welcome email
Your /includes/languages/english/NAME_OF_YOUR_TEMPLATE/create_account.php file apparently doesn't contain the expected language definitions.
Re: Problems with paypal express checkout welcome email
Quote:
Originally Posted by
DrByte
Your /includes/languages/english/NAME_OF_YOUR_TEMPLATE/create_account.php file apparently doesn't contain the expected language definitions.
Thanks so if i add the followning code to /includes/languages/english/NAME_OF_YOUR_TEMPLATE/create_account.php this problem will be fixed?
Code:
define('EMAIL_SUBJECT', 'Welcome to our website);
define('EMAIL_GREET_NONEEMAIL_WELCOMEEMAIL_TEXT', 'We would like to welcome you to our website);
define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");
Re: Problems with paypal express checkout welcome email
No, a more correct statement would be: put back anything you hacked out of that create_account.php file when you customized it.
Re: Problems with paypal express checkout welcome email
Quote:
Originally Posted by
DrByte
No, a more correct statement would be: put back anything you hacked out of that create_account.php file when you customized it.
I just got an email from a customer telling me about this problem.
Thing is that I have never hacked the /includes/language/english/MY_Tempalte/create_account.php.
I looked in that file and there are only a new lines in there:
Code:
<?php
define('TABLE_HEADING_BILLING_ADDRESS', 'Billing Address');
define('ENTRY_EMAIL_ADDRESS_CONFIRM', 'Confirm Email');
define('TABLE_HEADING_SHIPPING_ADDRESS', 'Shipping Address');
define('ENTRY_COPYBILLING', 'Same Address for Shipping/Billing');
define('ENTRY_COPYBILLING_TEXT', '');
//eof
whats happening here and how to fix this?