Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
function civicrm_invoke() { civicrm_initialize(); // check and ensure that we have a valid session if (!empty($_POST)) { // the session should not be empty // however for standalone forms, it will not have any CiviCRM variables in the // session either, so dont check for it if (count($_SESSION) <= 1) { $config = CRM_Core_Config::singleton(); CRM_Utils_System::redirect($config->userFrameworkBaseURL); } }
<?phpdefined('_JEXEC') or die;// Fix Civicrm Sagepay IPN bug in /components/com_civicrm/civicrm.php - it redirects to homepage on POST with new session!if (!empty($_POST) && count($_SESSION) <= 1){ $_SESSION['dummy1'] = 1; $_SESSION['dummy2'] = 1;}
/uk.co.circleinteractive.payment.sagepay
/uk.co.circleinteractive.payment.sagepay-v.3.1.0