Announcement

Collapse
No announcement yet.

capturing pay data when order = 0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    capturing pay data when order = 0



    **I guess this is better suited to the coders list, although there doesn't
    seem to be much action here these days:

    On one of the sites I oversee there are cases when an order's total is equal
    to 0 and payment data must be entered (using purchase order plus or simple
    validation).

    Even though the option to enter payment info is available - by
    way of the free VC module that keeps Merchant from skipping all that when
    order
    total = 0, the info entered does not get written into orders.dbf Pay_Data
    field. Interestingly though, a numeric value does still get written into
    the pay_id field representing the module that collected the info.

    Does anyone know what I might need to do to get the payment info written
    into orders.dbf even when oreder total=0?

    A.




    #2
    capturing pay data when order = 0



    > -----Original Message-----
    > From: [email protected]
    > [mailto:[email protected]]On Behalf Of Adam
    > Sent: Thursday, June 05, 2003 3:24 PM
    > To: [email protected]
    > Subject: Re: [mrc] capturing pay data when order = 0
    >
    > Dang, I hate it when I stump the band :(
    >
    > > **I guess this is better suited to the coders list, although
    > there doesn't
    > > seem to be much action here these days:
    > >
    > > On one of the sites I oversee there are cases when an order's total is
    > equal
    > > to 0 and payment data must be entered (using purchase order
    > plus or simple
    > > validation).
    > >
    > > Even though the option to enter payment info is available - by
    > > way of the free VC module that keeps Merchant from skipping all
    > that when
    > > order
    > > total = 0, the info entered does not get written into
    > orders.dbf Pay_Data
    > > field. Interestingly though, a numeric value does still get
    > written into
    > > the pay_id field representing the module that collected the info.
    > >
    > > Does anyone know what I might need to do to get the payment info written
    > > into orders.dbf even when oreder total=0?

    It did get written <G>...I think what you need is to modify the admin
    function to read Pay_ID with "null" PayData field equals "0.00".


    > > A.
    > >
    > >
    > >

    Comment


      #3
      capturing pay data when order = 0



      Dang, I hate it when I stump the band :(




      > **I guess this is better suited to the coders list, although there doesn't
      > seem to be much action here these days:
      >
      > On one of the sites I oversee there are cases when an order's total is
      equal
      > to 0 and payment data must be entered (using purchase order plus or simple
      > validation).
      >
      > Even though the option to enter payment info is available - by
      > way of the free VC module that keeps Merchant from skipping all that when
      > order
      > total = 0, the info entered does not get written into orders.dbf Pay_Data
      > field. Interestingly though, a numeric value does still get written into
      > the pay_id field representing the module that collected the info.
      >
      > Does anyone know what I might need to do to get the payment info written
      > into orders.dbf even when oreder total=0?
      >
      > A.
      >
      >
      >

      Comment


        #4
        capturing pay data when order = 0



        Ah... I was looking in the wrong place(s) for the spot to hack. Twasn't in
        oui_sop.mv, twasn't in Poplus.mv, twasn't even in lib.mv or db.mv. Just
        needed to omit one little bit of code in merchant.mv

        > > -----Original Message-----
        > > From: [email protected]
        > > [mailto:[email protected]]On Behalf Of Adam
        > > Sent: Thursday, June 05, 2003 3:24 PM
        > > To: [email protected]
        > > Subject: Re: [mrc] capturing pay data when order = 0
        > >
        > > Dang, I hate it when I stump the band :(
        > >
        > > > **I guess this is better suited to the coders list, although
        > > there doesn't
        > > > seem to be much action here these days:
        > > >
        > > > On one of the sites I oversee there are cases when an order's total is
        > > equal
        > > > to 0 and payment data must be entered (using purchase order
        > > plus or simple
        > > > validation).
        > > >
        > > > Even though the option to enter payment info is available - by
        > > > way of the free VC module that keeps Merchant from skipping all
        > > that when
        > > > order
        > > > total = 0, the info entered does not get written into
        > > orders.dbf Pay_Data
        > > > field. Interestingly though, a numeric value does still get
        > > written into
        > > > the pay_id field representing the module that collected the info.
        > > >
        > > > Does anyone know what I might need to do to get the payment info
        written
        > > > into orders.dbf even when oreder total=0?
        >
        > It did get written <G>...I think what you need is to modify the admin
        > function to read Pay_ID with "null" PayData field equals "0.00".
        >
        >
        > > > A.
        > > >
        > > >
        > > >

        Comment

        Working...
        X