Store ID field is present twice in the payment processor form
Created by: yashodha
Store ID field is present twice in the payment processor form
All the payments were failing with error API token mismatch so I had to made the change
diff --git a/CRM/Core/Payment/Moneris.php b/CRM/Core/Payment/Moneris.php
index cfb6dbb..0a1bd06 100644
--- a/CRM/Core/Payment/Moneris.php
+++ b/CRM/Core/Payment/Moneris.php
@@ -42,7 +42,7 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
$config = CRM_Core_Config::singleton();
// live or test
$this->_profile['server'] = (('live' == $mode) ? 'prod' : 'test');
- $this->_profile['storeid'] = $this->_paymentProcessor['user_name'];
+ $this->_profile['storeid'] = $this->_paymentProcessor['signature'];
$this->_profile['apitoken'] = $this->_paymentProcessor['password'];
$currencyID = $config->defaultCurrency;
if ('CAD' != $currencyID) {
to make it work again.
Edited by AlanDixon