projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
696dcdc
)
Add order_reference to spec
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 27 Jan 2021 00:19:49 +0000
(
00:19
+0000)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 27 Jan 2021 00:21:57 +0000
(
00:21
+0000)
api/v3/Payment.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Payment.php
b/api/v3/Payment.php
index 555c791c2dfd3fe7e6edabb92a889a4d3ef391c0..2e9649aba7d6e96b71c589be13e5b7c330955e44 100644
(file)
--- a/
api/v3/Payment.php
+++ b/
api/v3/Payment.php
@@
-350,6
+350,11
@@
function _civicrm_api3_payment_get_spec(&$params) {
'description' => ts('Transaction id supplied by external processor. This may not be unique.'),
'type' => CRM_Utils_Type::T_STRING,
],
+ 'order_reference' => [
+ 'title' => ts('Order Reference'),
+ 'description' => ts('Payment Processor external order reference'),
+ 'type' => CRM_Utils_Type::T_STRING,
+ ],
'trxn_date' => [
'title' => ts('Payment Date'),
'type' => CRM_Utils_Type::T_TIMESTAMP,