Commit 8f493a7b authored by sluc23's avatar sluc23
Browse files

Merge branch '4.7' into 'develop'

Fix processor not working in Wordpress

See merge request !2
parents 5045da90 492600cb
......@@ -163,7 +163,11 @@ class CRM_Core_Payment_Redsys extends CRM_Core_Payment {
}
}
}
$merchantUrl = $config->userFrameworkBaseURL . 'civicrm/payment/ipn?processor_name=Redsys&mode=' . $this->_mode . '&md=' . $component . '&qfKey=' . $params["qfKey"] . '&' . $merchantUrlParams;
$merchantUrl = CRM_Utils_System::url('civicrm/payment/ipn',
'processor_name=Redsys&mode=' . $this->_mode . '&md=' . $component . '&qfKey=' . $params["qfKey"] . '&' . $merchantUrlParams,
TRUE, NULL, FALSE, TRUE
);
// Force http if set
$redsys_settings = CRM_Core_BAO_Setting::getItem("Redsys Settings", 'redsys_settings');
......
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