Template:2011FR/Form-section-processing: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 41: Line 41:
paymentType = "pp";
paymentType = "pp";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
var gateway = document.createElement("input");
gateway.type = "hidden";
gateway.name = "gateway";
gateway.value = "paypal";
document.paypalcontribution.appendChild(gateway);
}
}


Line 46: Line 51:
paymentType= "pp";
paymentType= "pp";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
var gateway = document.createElement("input");
gateway.type = "hidden";
gateway.name = "gateway";
gateway.value = "paypal";
document.paypalcontribution.appendChild(gateway);


var recurring = document.createElement("input");
var recurring = document.createElement("input");
Line 61: Line 71:


if (i=="ew-mb"){
if (i=="ew-mb"){
paymentType = "pp";
var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26masthead=</html>{{{GC-MB-masthead|none}}}<html>\x26form_name=</html>{{{GC-MB-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-MB-text-template|2010/JimmyQuote}}}<html>\x26appeal=JimmyQuote\x26language=</html>{{int:lang}}<html>\x26ffname=</html>{{{GC-MB-ffname|webitects2nd}}}\x26payment_method=mb<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
var gateway = document.createElement("input");
gateway.type = "hidden";
gateway.name = "gateway";
gateway.value = "moneybookers";
document.paypalcontribution.appendChild(gateway);
}
}


Line 104: Line 120:
paymentType = "pp";
paymentType = "pp";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
var gateway = document.createElement("input");
gateway.type = "hidden";
gateway.name = "gateway";
gateway.value = "paypal";
document.paypalcontribution.appendChild(gateway);
}
}


if (i=="rpp"){
if (i=="rpp"){
paymentType= "pp";
paymentType = "pp";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>";
var gateway = document.createElement("input");
gateway.type = "hidden";
gateway.name = "gateway";
gateway.value = "paypal";
document.paypalcontribution.appendChild(gateway);


var recurring = document.createElement("input");
var recurring = document.createElement("input");

Revision as of 05:22, 16 November 2011