[ic] Verifone IPCharge

Mike Heins mike at perusion.com
Fri Mar 20 23:36:48 UTC 2009

Quoting Jon Jensen (jon at endpoint.com):
> On Fri, 20 Mar 2009, Mike Heins wrote:
> > I have this patch:
> [snip]
> > +	  $result{$k} = $transaction->$v if $transaction->can($v);
> Given that the $v above comes from a list of extra result values I've said 
> I want, I wonder if we should at least log a note to the error log if ! 
> $transaction->can($v) as that would likely indicate a typo in the method 
> name, or trying to use a result method that doesn't work for that payment 
> gateway.
> Silent failures are so much harder to troubleshoot.

Very good point.

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  <mike at perusion.com>

There's nothing sweeter than life nor more precious than time.
-- Barney

More information about the interchange-users mailing list