summaryrefslogtreecommitdiff
path: root/InternetSecure.pm
diff options
context:
space:
mode:
authorfbriere <fbriere>2006-08-19 18:35:35 +0000
committerfbriere <fbriere>2006-08-19 18:35:35 +0000
commitdee8162ed1772cded92c39a188dd584bd847318f (patch)
tree3652336a7435535aed737e17c009fb50fee41376 /InternetSecure.pm
parent69b4b8b6053186050e6bbb3be461934794cdf266 (diff)
Added backwards-compatible support for avs_response
Diffstat (limited to 'InternetSecure.pm')
-rwxr-xr-xInternetSecure.pm4
1 files changed, 4 insertions, 0 deletions
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