X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=OnlinePayment.pm;h=a2499810d31194134408eecec895ca9253ed2912;hb=a2a75e9852ea33b7c79bc33ee76be83f82caf637;hp=05d89bd5b1a2fbb014966d1378a8a8a4129a53a4;hpb=7b3f32e925e0acec89f1ea2421a25d5decc6216f;p=Business-OnlinePayment.git diff --git a/OnlinePayment.pm b/OnlinePayment.pm index 05d89bd..a249981 100644 --- a/OnlinePayment.pm +++ b/OnlinePayment.pm @@ -30,6 +30,9 @@ my @methods = qw( transaction_type fraud_score fraud_transaction_id + response_code + response_header + response_page ); sub new { @@ -595,6 +598,23 @@ Retrieve or change the fraud score from any Business::FraudDetect plugin Retrieve or change the transaction id from any Business::FraudDetect plugin +=head2 response_code() + +=head2 response_headers() + +=head2 response_page() + +These three fields are set by some processors (especially those which use +HTTPS) when the transaction fails at the communication level rather than +as a transaction. + +response_code is the HTTP response code and message, i.e. +'500 Internal Server Error'. + +response_headers is a hash reference of the response headers + +response_page is the raw content. + =head2 result_code() Returns the precise result code that the processor returned, these are @@ -602,6 +622,10 @@ normally one letter codes that don't mean much unless you understand the protocol they speak, you probably don't need this, but it's there just in case. +=head2 avs_code() + +=head2 cvv2_response() + =head1 MISCELLANEOUS INTERNAL METHODS =head2 transaction_type()