[ic] Updating custom userdb field on checkout

Andy Mayer andy at andymayer.net
Wed Sep 1 18:10:27 EDT 2004


I am wanting to update the customers credit balance when then have
successfully made a purchase (ie. on viewing the receipt page). What is
the best way of doing this? Which tags should I be looking at?

I have the new credit balance in a scratch variable that I want to write
it back to their userdb record.

I am reading the balance as follows:

[data table=userdb key="[data session username]" col="credit_balance"]

But I'm not sure how best to write it.



More information about the interchange-users mailing list