Commit 5045da90 authored by Carlos Capote's avatar Carlos Capote
Browse files

Fix processor not working for 4.7

parent 32dab35f
......@@ -231,7 +231,7 @@ class CRM_Core_Payment_Redsys extends CRM_Core_Payment {
$ipn->getInput($input, $ids);
CRM_Core_Error::debug_log_message("Redsys IPN Response: Parameteres received \n input: " . print_r($input, TRUE) . "\n ids: " . print_r($ids, TRUE) );
$paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType', $this->_processorName, 'id', 'name');
$paymentProcessorID = $this->_paymentProcessor['id'];
if (!$ipn->validateData($this->_paymentProcessor, $input, $ids, $objects, TRUE, $paymentProcessorID)) {
CRM_Core_Error::debug_log_message("Redsys Validation failed");
return FALSE;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment