[ic] help with order number

interch interchange-users@lists.akopia.com
Wed Aug 1 18:57:00 2001


Here is what I have used to make IC use an order id returned by the
processor.  This assumes that in paymentmodule.pm you have set
$::Values->{mv_order_number} to be the order id returned by
the processor.  
  

GlobalSub <<EOS
   sub just_for_overriding {
       package Vend::Order;
       sub update_order_number {
          my($order_no);
          $order_no = $::Values->{mv_order_number};
          $order_no;
       }
   }
EOS


Chris



On Wed, 1 Aug 2001, chad m. townsend wrote:

> 
> i still do not full understand how to get interchange to use the order
> id i get from the agency.  i tried $result{'order-id'} = "$order_id";
> etc ... but on the invoices they still keep coming out TEST0001,
> TEST0002, etc - but everything else is working great - as always any
> help mucho appreciated.
> 
> ./chad&
> 
> Joachim Leidinger wrote:
> > 
> > "chad m. townsend" wrote:
> > >
> > > yes i searched the mailing lists - i'll do it again.  if you aren't
> > > going to provide any assistants i'd appreciate you not responding to my
> > > questions.
> > >
> > > thanks,
> > >
> > > ./chad&
> > >
> > > Joachim Leidinger wrote:
> > > >
> > > > "chad m. townsend" wrote:
> > > > >
> > > > > how do i submit an order number to a credit card agency and make sure
> > > > > interchange uses that same order number for it's records?
> > > >
> > > > If I recall right, this question was answered a long time before! Did
> > > > you use the mail archives to find your answer?
> > 
> > If you are able to send the ordernumber to the credit card agency and
> > your credit card agency can send back via the post methode, you can use
> >  [perl arg="cgi scratch"]
> >           $Safe{'scratch'}->{"myordernumber"}  =
> > $Safe{'cgi'}->{"thynameofthefieldwihttheordernumber"};
> > ...
> > [/perl]
> > 
> > you can follow
> > 
> > http://developer2.akopia.com/archive/interchange-users/1999/msg06419.html
> > and
> > http://developer2.akopia.com/archive/interchange-users/1999/msg06541.html
> > 
> > ciao
> > 
> > Joachim
> > 
> > --
> > ------------------------------------------------------------------
> >  Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing.
> >              Black Point Arts Internet Solutions GmbH
> >   [Hans-Joachim.leidinger@bpanet.de]  w w w . b p a n e t . d e
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> interchange-users mailing list
> interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>