summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xInternetSecure.pm6
-rwxr-xr-xt/30parse.t6
2 files changed, 6 insertions, 6 deletions
diff --git a/InternetSecure.pm b/InternetSecure.pm
index 65847f1..9e9c701 100755
--- a/InternetSecure.pm
+++ b/InternetSecure.pm
@@ -43,7 +43,7 @@ sub set_defaults {
date
card_type cardholder
total_amount tax_amounts
- avs_response cvv2_response
+ avs_code cvv2_response
));
# Just in case someone tries to call tax_amounts() *before* submit()
@@ -275,7 +275,7 @@ sub parse_response {
result_code => 'Page',
error_message => 'Verbiage',
authorization => 'ApprovalCode',
- avs_response => 'AVSResponseCode',
+ avs_code => 'AVSResponseCode',
cvv2_response => 'CVV2ResponseCode',
receipt_number => 'ReceiptNumber',
@@ -536,7 +536,7 @@ B<guid>() is provided as an alias to this method.
Authorization code for this transaction.
-=item avs_response() / cvv2_response()
+=item avs_code() / cvv2_response()
Results of the AVS and CVV2 checks. See the InternetSecure documentation for
the list of possible values.
diff --git a/t/30parse.t b/t/30parse.t
index 6198468..a6ed028 100755
--- a/t/30parse.t
+++ b/t/30parse.t
@@ -5,7 +5,7 @@ use constant FIELDS => qw(
receipt_number sales_number
date
card_type
- avs_response cvv2_response
+ avs_code cvv2_response
total_amount tax_amounts
);
@@ -19,7 +19,7 @@ use constant RESULTS => (
sales_number => 0,
date => '2003/12/17 09:59:58',
card_type => undef,
- avs_response => undef,
+ avs_code => undef,
cvv2_response => undef,
total_amount => 3.88,
tax_amounts => { GST => 0.25 },
@@ -35,7 +35,7 @@ use constant RESULTS => (
sales_number => 729,
date => '2003/12/17 10:31:58',
card_type => 'Visa',
- avs_response => undef,
+ avs_code => undef,
cvv2_response => undef,
total_amount => 3.88,
tax_amounts => { GST => 0.25,