MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Field Contents reverting to MV_USERNAME?



Bill, I flushed the session file, reran the same test and of course it failed...  I've dumped the session.gdbm file and was suprised to see that both of my fields, company and b_company, are being defined as objects that look  very much like the parameter list with values from the userdb tags with the shipping= and billing= respectively...

Doesn't this seem strange?  Its almost like the line:

[userdb function=set_billing
    billing="b_company b_name b_address b_address2 b_city b_state b_state_other b_zip b_country b_country_other b_phone_day b_fax b_email b_resale_tax_id mv_credit_card_type mv_credit_card_exp_month mv_credit_card_exp_year mv_credit_card_info mv_credit_card_holdername"
   username="[value mv_username]"
          nickname="[value mv_username]"]

is taking the first field name of billing, which is b_company, and equating it to bill_field which according to the docs is the field name for the accounts book...

Ha!  I added a junk field, billing_junk and shipping_junk as the first field listed in each list and it seemed to work...

Mike, ears on?

Barry

 

William Rothbauer wrote:

Sounds like it's not saving the data.  Check your code for

[userdb save]

if it's there, try

[userdb function=save]

instead.  I had a similar problem and this cured it.

Bill Rothbauer

 
Search for: Match: Format: Sort by: