projects
/
Business-OnlinePayment-InternetSecure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added backwards-compatible support for sales_number
[Business-OnlinePayment-InternetSecure.git]
/
InternetSecure.pm
diff --git
a/InternetSecure.pm
b/InternetSecure.pm
index
257e443
..
b6632ed
100755
(executable)
--- a/
InternetSecure.pm
+++ b/
InternetSecure.pm
@@
-50,8
+50,9
@@
sub set_defaults {
$self->tax_amounts( {} );
}
$self->tax_amounts( {} );
}
-# Backwards-compatible support for
avs_response
+# Backwards-compatible support for
renamed fields
sub avs_response { shift()->avs_code(@_) }
sub avs_response { shift()->avs_code(@_) }
+sub sales_number { shift()->order_number(@_) }
# Combine get_fields and remap_fields for convenience. Unlike OnlinePayment's
# Combine get_fields and remap_fields for convenience. Unlike OnlinePayment's