summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-08-08 18:00:21 -0700
committerIvan Kohler <ivan@freeside.biz>2016-08-08 18:00:21 -0700
commit72783a4ae656a3d75184d0210ab81c73e22867b6 (patch)
tree3164a802ca25ee2c4acfc112d348868325278ae7
parent534e87c9dbc8562c4f6bbd6cfe96b7b8dae0fab8 (diff)
Add txn_date to return fields (and build_subs)
-rw-r--r--OnlinePayment.pm6
-rw-r--r--notes_for_module_writers_v31
2 files changed, 7 insertions, 0 deletions
diff --git a/OnlinePayment.pm b/OnlinePayment.pm
index 2adbd80..b4404fe 100644
--- a/OnlinePayment.pm
+++ b/OnlinePayment.pm
@@ -36,6 +36,7 @@ my @methods = qw(
response_page
avs_code
cvv2_response
+ txn_date
);
__PACKAGE__->build_subs(@methods);
@@ -708,6 +709,11 @@ this if you would like to run inquiries or refunds on the transaction later.
If supported by your gateway, a card_token can be used in a subsequent
transaction to refer to a card number.
+=head2 txn_date()
+
+Transaction date, as returned by the gateway. Required by some gateways
+for follow-up transactions.
+
=head2 fraud_score()
Retrieve or change the fraud score from any Business::FraudDetect plugin
diff --git a/notes_for_module_writers_v3 b/notes_for_module_writers_v3
index 86172c5..6b64805 100644
--- a/notes_for_module_writers_v3
+++ b/notes_for_module_writers_v3
@@ -93,6 +93,7 @@ These are the module writer's notes for v3. See the regular
],
},
'CC_void_requires_card' => 1,
+ #? 'CC_reverse_auth_requires_txn_date' => 1,
'ECHECK_void_requires_account' => 1, #routing_code, account_number, name
};
}