From 6298cd65d87c8dbfb12c98093da70122238643ff Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 27 Jan 2021 00:19:49 +0000 Subject: [PATCH] Add order_reference to spec --- api/v3/Payment.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/v3/Payment.php b/api/v3/Payment.php index 555c791c2d..2e9649aba7 100644 --- 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, -- 2.25.1