Template:2011FR/Form-section-processing: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
//********************************** eWallets ******************************************* |
//********************************** eWallets ******************************************* |
||
if (i=="pp") { |
if (i=="pp"||i=="ew-pp") { |
||
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"; |
|||
recurring.value = "paypal"; |
|||
document.paypalcontribution.appendChild(gateway); |
|||
} |
} |
||
if (i=="rpp"){ |
if (i=="rpp"||i=="ew-pp"){ |
||
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>"; |
||
Line 53: | Line 59: | ||
recurring.value = "true"; |
recurring.value = "true"; |
||
document.paypalcontribution.appendChild(recurring); |
document.paypalcontribution.appendChild(recurring); |
||
var gateway = document.createElement("input"); |
|||
gateway.type = "hidden"; |
|||
gateway.name = "gateway"; |
|||
recurring.value = "paypal"; |
|||
document.paypalcontribution.appendChild(gateway); |
|||
} |
} |
||
⚫ | |||
paymentType = "mb"; |
|||
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{int:lang}}<html>"; |
|||
var gateway = document.createElement("input"); |
|||
gateway.type = "hidden"; |
|||
gateway.name = "gateway"; |
|||
recurring.value = "moneybookers"; |
|||
document.paypalcontribution.appendChild(gateway); |
|||
} |
|||
//************************************** needs to be configured ************************************** |
//************************************** needs to be configured ************************************** |
||
if (i=="ew-yd"){ |
if (i=="ew-yd"){ |
||
var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26masthead=</html>{{{GC-YD-masthead|none}}}<html>\x26form_name=</html>{{{GC-YD-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-YD-text-template|2010/JimmyQuote}}}<html>\x26appeal=JimmyQuote\x26language=</html>{{int:lang}}<html>\x26ffname=</html>{{{GC-YD-ffname|webitects2nd}}}\x26payment_method=yd<html>"; |
var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26masthead=</html>{{{GC-YD-masthead|none}}}<html>\x26form_name=</html>{{{GC-YD-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-YD-text-template|2010/JimmyQuote}}}<html>\x26appeal=JimmyQuote\x26language=</html>{{int:lang}}<html>\x26ffname=</html>{{{GC-YD-ffname|webitects2nd}}}\x26payment_method=yd<html>"; |
||
⚫ | |||
⚫ | |||
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>"; |
|||
} |
} |
||
Revision as of 05:09, 16 November 2011