[ic] Updating custom userdb field on checkout

Jon Jensen jon at endpoint.com
Wed Sep 1 18:28:55 EDT 2004

On Wed, 1 Sep 2004, Andy Mayer wrote:

> 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.

You should be able to just do:

	key="[data session username]"
	value="[scratch whatever]"


More information about the interchange-users mailing list