From 8a4814003f7a9fa3f45e98a54116db03f3175997 Mon Sep 17 00:00:00 2001 From: KarinG Date: Tue, 11 Apr 2017 18:54:43 -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 e320c8480f..12e432cae1 100644 --- a/CRM/Core/Payment/AuthorizeNet.php +++ b/CRM/Core/Payment/AuthorizeNet.php @@ -363,7 +363,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