I am new to Drupal and am creating e-commerce site and made automatic user account when customer purchase the goods. During the test, the default customer invoice was sent successfully and when the transaction was completed, the welcome e-mail which include login user name and password were sent. Unfortunately, the token for username does not work. Token [user-clear-password] works fine showing Password. I searched the available token, but nothing works for Username.

Username:[username] I tried [user], !user, %user, etc….
Password: Lrepgyiro Password works fine.

I appreciate for your advise.

Thank you

Comments

kaoru’s picture

Version: 5.x-1.9 » 5.x-1.11
Dave Reid’s picture

Status: Active » Closed (works as designed)

You'd need to make sure the module that sends these e-mails runs the token functions to replace tokens. I'm guessing it doesn't do that.