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.
$returnURL = CRM_Utils_System::url( $url, "_qf_ThankYou_display=1&qfKey=" . SAGEPAY_QFKEY, true, null, false);
$returnURL = CRM_Utils_System::url( $url, "_qf_ThankYou_display=1&qfKey=" . SAGEPAY_QFKEY, true, null, false, true);
$returnURL = CRM_Utils_System::url( $url, "_qf_ThankYou_display=1&qfKey={$params['qfKey']}", true, null, false );
// ensure that the returnURL is absolute. if ( substr( $returnURL, 0, 4 ) != 'http' ) { require_once 'CRM/Utils/System.php'; $fixUrl = CRM_Utils_System::url("civicrm/admin/setting/url", '&reset=1'); CRM_Core_Error::fatal( ts( 'Sending a relative URL to PayPalIPN is erroneous. Please make your resource URL (in <a href="%1">Administer CiviCRM » Global Settings » Resource URLs</a> ) complete.', array( 1 => $fixUrl ) ) ); }