[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Authorize.Net Missing Order Number
> > > That is what happens now with the order ID. I don't know why
> > > that reference number is not passed in, I am guessing it is
> > > just a bug.
> > >
> > > Probably the line which says:
> > >
> > > x_Trans_ID => $actual->{order_id},
> > >
> > > Needs to say:
> > >
> > > x_Trans_ID => $actual->{order_id} || $order_id,
> > >
> >
> > That works mike but gives you a ten digit string which looks like a
> > timestamp id not the final order ID the system allocates to the approved
> > order.Maybe it would be better to assign the timestamp id as
> the actual order ID.
>
> That is certainly up to the individual. My view is that the use of it
> is as a link to the Authorizenet information, and that it does
> not necessarily need to be the order number. You can just save it
> in the transaction database to provide the link.
>
> > I have done that in other systems, that way there will be no
> potential of
> > redundancy. So how could you assign this number to be the final Number?
>
> You can just assign it to $Session->{mv_order_number} at time of payment,
> and it will be used instead of the counter number.
>
> --
> Mike Heins
> Perusion -- Expert Interchange Consulting
> phone +1.513.523.7621 <mike@perusion.com>
>
So, to clarify, is the "order ID" a timestamp ID number, or is the the order
number? Is the order ID number accessible through the $Values hash, or
[value order_id], and at what point is that number set?
Also, what does perusion mean? :)
Thank you,
Russell Mann