[ic] Writing a new payment module - please help!

Interchange user interchange-users@icdevgroup.org
Wed Feb 12 22:56:01 2003


On Tuesday 11 February 2003 11:19 pm, you wrote:
> On Tue, 11 Feb 2003 22:08:55 +0000, Interchange user wrote:
> >I've asked for help on this a couple times before, but didn't get any
> >response. Please, can anyone help? Everyone's going ape shit because the
> >store should have been finished many, many months ago.
> >
> >First, how do I make sure that new form variables from checkout.html get
> >included in the values that are sent to the payment module? I need to
> > capture the credit card type and security code, and also an issue # for
> > certain cards.
> >
> >There seems to already be a 'mv_credit_card_type' variable, so I have set
> > it in checkout.html, but from the debugging output, I can see that it is
> > not getting passed to the module as the others are.
> >
> >Secondly, I need some information on the %result hash:
> >
> >$result{'pop.order-id'} - this should be set to the transaction reference
> >returned by the payment processor, right? What should be done with the
> >Interchange-generated $orderID (from the Signio module), if anything?
> >
> >$result{'pop.auth-code'} - I guess this should be the authorization code
> >returned from the bank?
> >
> >What do pop.avs_code, pop.avs_zip, and pop.avs_addr expect to receive from
> >the response? The payment gateway I'm using can return several responses
> >including: matched, code match only, address match only, and no match, but
> >there is no 'zip match only'.
>
> Am I correct in suspecting that this is for Protx? If so, I'm half way
> through writing a module myself. Contact me if so.
>
> >Thanks again.
>
> -
> Cheers
> Lyn St George
> +--------------------------------------------------------------------------
>------- + http://www.zolotek.net .. eCommerce hosting, consulting
> + http://www.os2docs.org .. some 'How To' stuff ...
> +--------------------------------------------------------------------------
>--------


No, it's for SecureTrading, a UK payment gateway. Uses an XML client.