On 08/20/2006 11:20 AM, Tom Tucker wrote:
Interchange 5.4.0 MySQL 4.1.19-standard Mac OS X 10.4.7 Modified 'standard' demo When 'UserDB default indirect_login email' is commented out in catalog.cfg, mv_credit_card_info (encrypted credit card data) is successfully stored in both userdb and transactions (updated log_transaction). When I uncomment this line, the mv_credit_card_info column is empty. This happens whether 'UserDB default assign_username 1' is uncommented or not. Is this expected behavior? How can I allow customers to login with their email address AND store the encrypted card data?
Try this patch and let us know if it works (note probably suffers from word wrap so you will likely hve to apply by hand):
--- UserDB.pm 2005-11-08 13:14:45.000000000 -0500
+++ UserDB.indirect 2006-08-14 10:06:11.000000000 -0400
@@ -1580,12 +1580,12 @@
$Vend::Session->{auto_created_user} = $self->{USERNAME};
}
else {
+ $self->set_values() unless $self->{OPTIONS}{no_set};
$self->{USERNAME} = $foreign if $foreign;
username_cookies($self->{USERNAME}, $pw)
if $Vend::Cfg->{CookieLogin};
$self->log('new account') if $options{'log'};
- $self->set_values() unless $self->{OPTIONS}{no_set};
$self->login()
or die errmsg(
"Cannot log in after new account creation: %s",
Peter
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.