[ic] Verifone IPCharge

Jon Jensen jon at endpoint.com
Fri Mar 20 21:15:55 UTC 2009


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.

Jon


-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list