[ic] auto create user on checkout
Kevin Walsh
kevin at cursor.biz
Sun Aug 6 14:09:19 EDT 2006
"Ron Phipps" <rphipps at reliant-solutions.com> wrote:
> We've got a site setup to allow a user to checkout without creating an
> account. If they check out this way, log_transaction adds the user to the
> userdb and we have verified that, that part works. The etc/report,
> etc/mail_receipt and etc/receipt show the correct values for the Value
> space. However $Values->{fname} and [value fname] are both empty after this
> line in log_transaction:
>
> [userdb
> function=new_account
> assign_username=1
> password='[value zip]'
> verify='[value zip]'
> ]
>
> Since these values are empty they (fname, lname, etc) are not saved to
> userdb or transactions.
>
> Any ideas what could cause [value fname] to be populated before this line,
> empty after this line, and show up properly in the report and receipt files?
>
I haven't come across this, but the solution might be to add no_login=1
to the [userdb] parameters. This, in theory, should prevent the tag
from logging the user into his new account and reading his (blank)
userdb row.
I haven't tried it, by the way - I'm just reading the source.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list