Difference between revisions 25110 and 25198 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" var action_url = paymentsBaseURL; var ffname = 'default'; document.getElementsByName("currency_code")[0].value="</html>{{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}}<html>"; //************************************ credit card ************************************ //if i == cc if( i == "cc" ) { var ffnames = "</html>{{{GC-CC-ffname|cc-vm}}}<html>"; ffnames = ffnames.split( ',' ); var random = Math.floor( Math.random() * ffnames.length ); var choice = ffnames[ random ]; ffname = choice; var paymentType ="cc"; var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{int:lang}}<html>\x26form_name=</html>{{{GC-CC-form-name|RapidHtml}}}<html>\x26appeal=JimmyQuote" if(monthlyDonation == true) { action_url += ("\x26ffname=</html>{{{GC-CC-ffname|cc-vm}}}<html>").replace('cc','rcc'); } else { action_url += "\x26ffname=" + choice + ""; } } /*⏎ if (i=="cash-bl") { ffname = "</html>{{{GC-RT-ffname|boletos}}}<html>"; action_url += "\x26ffname=" + ffname + "\x26payment_method=cash"; }⏎ */ //************************************ credit card ************************************ //****************************** realtime ************************************************** if (i=="rtbt-id") { ffname = "</html>{{{GC-RT-ffname|rtbt-ideal}}}<html>"; action_url += "\x26ffname=" + ffname + "\x26payment_method=rtbt"; (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=25198.
![]() ![]() 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.
|