Difference between revisions 23149 and 23151 on donatewiki<div>{{#ifeq:{{{handler}}}|GC |<!-- Start of GlobalCollect handling code --> <html> <script type="text/javascript"> function redirectPayment(i) { document.getElementsByName("currency_code")[0].value="</html>{{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}}<html>"; //************************************ credit card ************************************ //if i == cc ⏎ var ffnames = "{{{GC-CC-ffname|cc-vm}}}"; ffnames = ffnames.split( ',' ); var random = Math.floor( Math.random() * ffnames.length ); var choice = ffnames[ random ];⏎ ⏎ var paymentType ="cc"; var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26masthead=</html>{{{GC-CC-masthead|none}}}<html>\x26form_name=</html>{{{GC-CC-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-CC-text-template|2010/JimmyQuote-green}}}<html>\x26appeal=JimmyQuote-green\x26language=</html>{{int:lang}}<html>" if(monthlyDonation == true) { action_url += ("\x26ffname=</html>{{{GC-CC-ffname|cc-vm}}}<html>").replace('cc','rcc'); } else { action_url += "\x26ffname=</html>" + choice + "{{{GC-CC-ffname|cc-vm}}}<html>"; } //************************************ credit card ************************************ //****************************** realtime ************************************************** if (i=="rtbt-id") { (contracted; show full) } document.paypalcontribution.submit(); } } </script> </html> <!-- End of NON-GlobalCollect handling code --> }}</div> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://donate.wikipedia.org/w/index.php?diff=prev&oldid=23151.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|