diff options
author | fbriere <fbriere> | 2006-08-19 18:19:32 +0000 |
---|---|---|
committer | fbriere <fbriere> | 2006-08-19 18:19:32 +0000 |
commit | 69b4b8b6053186050e6bbb3be461934794cdf266 (patch) | |
tree | 40d8e57015cbc3d67281a0c74a522854d5adcfa4 | |
parent | e97a2d3512479f30718872b70196a2be18ec2b2e (diff) |
Renamed avs_response to avs_code
-rwxr-xr-x | InternetSecure.pm | 6 | ||||
-rwxr-xr-x | t/30parse.t | 6 |
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, |