[ic] Overriding mv_order_number

David Totten interchange-users@lists.akopia.com
Thu May 24 13:15:00 2001


On Thu, May 24, 2001 at 09:52:44AM -0700, interch wrote:
> 
> 
> I saw a post that said to override mv_order_number by setting
> $Session->{mv_order_number} to whatever you wanted your own custom order
> id to be.  Where exactly should I do this?  I have tried setting it in the
> payment module right after payment is approved but it gets changed
> somehwere after that and before receipt.html is shown.  WHere exactly
> should mv_order_number be set?


The code that normally handles order_number generation is found in
$CATROOT/etc/log_transaction

After looking at my standard one from 4.6.4, you should be able to set your
own by setting it in the values space. $Values->{mv_order_number} = 'abc123';

but look at log_transaction, and do a search for mv_order_number.

Dave Totten


-- 
Start random buzzword text:
On the other hand, initiation of critical subsystem development requires considerable systems analysis and trade-off studies to arrive at the preliminary qualification limit.