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.
Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL
$returnURL = CRM_Utils_System::url($url, "_qf_ThankYou_display=1&qfKey=" . SAGEPAY_QFKEY, true, null, false, true);
file_put_contents('/tmp/sagepay-debug', "RedirectURL=$returnURL");
notifyURL = $config->userFrameworkBaseURL . 'civicrm/payment/ipn?';
$notifyURL = $config->userFrameworkBaseURL . 'index.php?option=com_civicrm&task=civicrm/payment/ipn&';
$config = CRM_Core_Config::singleton();$isDrupal = $config->userSystem->is_drupal;$isJoomla = ucfirst($config->userFramework) == 'Joomla' ? TRUE : FALSE;$isWordPress = $config->userFramework == 'WordPress' ? TRUE : FALSE;
if (ucfirst($config->userFramework) == 'Joomla') { $notifyURL = $config->userFrameworkBaseURL . 'index.php?option=com_civicrm&task=civicrm/payment/ipn&'; } else { $notifyURL = $config->userFrameworkBaseURL . 'civicrm/payment/ipn?'; }
// Construct notification url$notifyURL = $config->userFrameworkBaseURL . 'civicrm/payment/ipn?';foreach ($notifyParams as $key => $value) $notifyURL .= $key . '=' . urlencode($value) . '&';$notifyURL = substr($notifyURL, 0, -1);
// Construct notification url$querystring = '';foreach ($notifyParams as $key => $value) $querystring .= $key . '=' . urlencode($value) . '&';$notifyURL = CRM_Utils_System::url('civicrm/payment/ipn', $querystring, true, null, false, true);