PayPal Direct Payment (PayPal Express) does not email customer correctly

Description

We tested PayPal Express Checkout in sandbox mode, and upon automatic creation of user account the email doesn't get generated correctly to the customer. We have provided an actual email generated.

Please note: information between the < > are just there for example.

Subject: Welcome to _______ [This should real Welcome to <store name>]

Email Body: Dear <Customer Name>

We welcome you to %s. [This should read We welcome you to <store name>]

You can now take part in the various services we have to offer you. Some of these services include:

Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out.
Address Book - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.
Order History - View your history of purchases that you have made with us.
Products Reviews - Share your opinions on products with our other customers.

Thank you for using PayPal Express Checkout! To make your next visit with us even smoother, an account has been automatically created for you. Your new login information has been included below:

Username: <customer email>
Password: <password>

For help with any of our online services, please email the store-owner: %s. [This should read: For help with any of our online services, please email the store-owner: <owner info / owner name / store name>.]

Environment

Operating System: Linux
Platform: Apache

Steps to reproduce

None

Status

Assignee

Unassigned

Reporter

invizix

Labels

None

Severity

Minor

Components

Affects versions

v2.5.2

Priority

Configure