[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Changing Global Catalog Variables Dynamically
I have a client who wants to send transactions thru different gateways
depending on the type of card used and the credit limit associated with that
gateway.
I think to do this I need to change the value of MV_PAYMENT_MODE when the
transaction is being processed.
I figure to do it I would need to use: $Global::Variable->{$key} or
something of the sort in a [perl][/perl] block.
Now, I may have hit the crack pipe once or twice this morning, so I want to
ask a few simple questions before I do something like this.....
#1) Am I crazy? Is this a really,really,really, dumb thing to do?
#2) Would it affect other transactions that were being processed?
#3) Would it be a better idea to put checks in Vend::Payment or write a
wrapper Payment module that sent the info off to the appropriate place?
Thanks,
_________________________________________________________________
Shawn Mathews
ICQ#: 157740601
_________________________________________________________________