New Order welcome mail

Project:Ubercart Contributions
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

Hello,

I'm not sure if this is a configuration issue, but I noticed (after a few months) that people ordering products and paying with paypal wps don't recieve their username and password in the welcome email. The user is registered and stored in the Drupal Database.

I have bank deposit module installed and when using the bank deposit payment method, they recieve the username and password in the mail.

Is this a setting or should I modify the email template?

TIA,
Fossie

Version: 
Ubercart 1.6
fossie@drupal.org's picture
Offline
Joined: 11/20/2007
Juice: 48
Re: New Order welcome mail

I see in the template.itpl the following:

<?php if (isset($_SESSION['new_user'])) { ?>
            <p><b><?php echo t('An account has been created for you with the ...
            <p><b><?php echo t('
Username:); ?>
</b> [new-username]<br/>
            <b><?php echo t('Password:'); ?></b> [new-password]</p>
            <?php } ?>

Is it possible that when the user returns from the paypal website; the new_user in session isn't available anymore?

Fossie

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: New Order welcome mail
Assigned to:fossie@drupal.org» Ryan

Hmm... actually, PayPal is who fires off the notification event, and they'll never have the session variable... so, this sounds like an oversight in the module.