Off the top of my head, I think there are two easy things to do.
1) Change the checkout process so that an invoice is not created until all
of the checkout process has been completed (personal info, cc info, etc)
2) Duplicate the code which removes the expired sessions to remove "expired"
invoices. I don't remember which file it is in. I believe it is in one of
the include files (global or init, perhaps).
You've got to remember that there is no way to KNOW when someone "leaves"
the checkout process. HTTP is stateless, i.e., the client issues a request
and gets a response. End of story.
The way the sessions are cleared out (if I remember correctly) is as
follows: One of the include files decides (via a random #) to go out and
clean up all sessions which have not had any activity for the last half hour
(or whatever the timeframe is). It doesn't really KNOW who has left and
gone to another site. It just uses a pretty good assumption.
BTW: if you do the first change, please consider posting it because that is
on my to-do list.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Honeychurch
> Sent: Saturday, November 11, 2000 3:39 PM
> To: [EMAIL PROTECTED]
> Subject: [FreeTrade] Unfinished invoices
>
>
> Hi;
>
> Has anyone changed freetrade so that unfinished invoices are automatically
> removed? I would like to make unfinished invoices be removed
> automatically
> if someone leaves the checkout process. Any thoughts on doing this?
>
> Shawn
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Site: http://www.working-dogs.com/freetrade/
> Problems?: [EMAIL PROTECTED]
>
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]