From 5bd23b414f27b5e003b76b8ee1067bca9e0bbef1 Mon Sep 17 00:00:00 2001 From: KarinG Date: Tue, 11 Apr 2017 19:06:32 -0600 Subject: [PATCH] No need to truncate x_invoice_num. --- CRM/Core/Payment/AuthorizeNet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/AuthorizeNet.php b/CRM/Core/Payment/AuthorizeNet.php index 2dd73da5f8..45429f7a51 100644 --- a/CRM/Core/Payment/AuthorizeNet.php +++ b/CRM/Core/Payment/AuthorizeNet.php @@ -377,7 +377,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment { $fields['x_country'] = $this->_getParam('country'); $fields['x_customer_ip'] = $this->_getParam('ip_address'); $fields['x_email'] = $this->_getParam('email'); - $fields['x_invoice_num'] = substr($this->_getParam('invoiceID'), 0, 20); + $fields['x_invoice_num'] = $this->_getParam('invoiceID'); $fields['x_amount'] = $amount; $fields['x_currency_code'] = $this->_getParam('currencyID'); $fields['x_description'] = $this->_getParam('description'); -- 2.25.1