From dee8162ed1772cded92c39a188dd584bd847318f Mon Sep 17 00:00:00 2001 From: fbriere Date: Sat, 19 Aug 2006 18:35:35 +0000 Subject: Added backwards-compatible support for avs_response --- InternetSecure.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'InternetSecure.pm') diff --git a/InternetSecure.pm b/InternetSecure.pm index 9e9c701..0adb94f 100755 --- a/InternetSecure.pm +++ b/InternetSecure.pm @@ -50,6 +50,10 @@ sub set_defaults { $self->tax_amounts( {} ); } +# Backwards-compatible support for avs_response +sub avs_response { shift()->avs_code(@_) } + + # Combine get_fields and remap_fields for convenience. Unlike OnlinePayment's # remap_fields, this doesn't modify content(), and can therefore be called # more than once. Also, unlike OnlinePayment's get_fields in 3.x, this doesn't -- cgit v1.2.1