From: Lisa Marie Maginnis Date: Thu, 9 Apr 2015 20:52:49 +0000 (-0400) Subject: fix for unsubscribe X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cb0b9b7ca83a1634a51b71780bb04e819d92c484;p=trustcommerce.git fix for unsubscribe --- diff --git a/trustcommerce.php b/trustcommerce.php index d5c3e63..eff9bd3 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -484,7 +484,7 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { $tc_params['custid'] = $this->_getParam('user_name'); $tc_params['password'] = $this->_getParam('password'); $tc_params['action'] = 'unstore'; - $tc_params['billingid'] = CRM_Utils_Array::value('trxn_id', $params); + $tc_params['billingid'] = CRM_Utils_Array::value('processor_id', $params); $result = $this->_sendTCRequest($tc_params);