[ic] Verifone IPCharge

Bill Carr bill at bottlenose-wine.com
Fri Mar 20 21:21:02 UTC 2009

On Mar 20, 2009, at 4:59 PM, Richard Siddall wrote:

> Mike Heins wrote:
>> Obviously you don't know the Interchange way. Bloat 'R us. 8-)
>> You may be right, but maybe not. It could be that the current
>> way of doing it is what should be removed.
> Possibly.  Presumably, you'd want to retain the MV_PAYMENT_* variable
> functionality.
>> There is no way to remap or account for conflicting key names the way
>> that is provided. If we are going to use this as a main payment  
>> method I
>> think a little flexibility is required. All it would take is for  
>> one of
>> the payment modules to require "gateway" as a parameter, and it is
>> broken. Doesn't sound like a good solution to me.
> True.
> I think your patch would be better passing the extra parameters to the
> constructor.  As I understand it, that's the Business::OnlinePayment  
> way.
I'm not quite sure if that would be the BOP way. The guide for backend  
module developers suggests using BOP::AuthorizeNet as an example. In  
that example no parameters are passed to the BOP constructor other  
than the processor. A subsequent call to the 'content' method sets up  
the parameters necessary for a transaction. It might seem a little  
awkward for users outside of Interchange to put some parameters in the  
constructor call and some in the content call. Of course inside the  
Interchange world the users are just setting up parameters via  
'[charge ....]' or 'Route onlinepayment .....' so it would not really  
matter to them. I do think it is reasonable to be able to place all  
the parameters necessary for a given transaction in the content method  
call. That be said I think we do need  our bloated exta_query_params  

I think we definitely need a way to get specific result based values  
back. In the case of IPCharge a troutd number is generated for certain  
types of transactions. This troutd is then used for follow on or  
completion transactions (i.e. auth -> complete sale).

Bill Carr
Bottlenose - Wine & Spirits eBusiness Specialists
(413) 584-0400

More information about the interchange-users mailing list