Difference between revisions 23380 and 23382 on donatewiki

<div>{{#ifeq:{{{handler}}}|GC
|<!-- Start of GlobalCollect handling code -->
<html>
<script type="text/javascript">

function redirectPayment(i) {
    var paymentsBaseURL = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26form_name=RapidHtml\x26appeal=JimmyQuote"

(contracted; show full)  if(getQuerystring( 'form-countryspecific' )=='') {
    document.paypalcontribution.utm_source.value +=  'control';
  }
  else {
    document.paypalcontribution.utm_source.value +=  getQuerystring( 'form-countryspecific' ).replace("Form-countryspecific-","");
  }


//    document.paypalcontribution.utm_source.value +=  '.' + ffname;

  document.paypalcontribution.utm_source.value +=  '.' + paymentType;

   document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );

  //****************************** End Faulkner ******************************************************

  if (validateForm(document.paypalcontribution)) {
    if(typeof(OWA) !== 'undefined') {
      OWATracker.shareStateByPost( document.paypalcontribution );
    }
    document.paypalcontribution.submit();
  }
}
</script>
</html>
<!-- End of NON-GlobalCollect handling code -->
}}</div>