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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
Created page with "{{#ifeq:{{{handler}}}|GC |<html> <script type="text/javascript" language="javascript"> function redirectPayment(i) { document.getElementsByName("currency_code")[0].value=..."
 
Cbarr (talk | contribs)
No edit summary
Line 4: Line 4:


function redirectPayment(i) {
function redirectPayment(i) {

document.getElementsByName("currency_code")[0].value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>";
document.getElementsByName("currency_code")[0].value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>";
//************************************ credit card ************************************
//************************************ credit card ************************************
//if i == cc
//if i == cc
var paymentType ="cc";
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>\x26ffname=</html>{{{GC-CC-ffname|webitects2nd}}}<html>";
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|webitects2nd}}}<html>").replace('cc','rcc');
}
else
{
action_url += "\x26ffname=</html>{{{GC-CC-ffname|webitects2nd}}}<html>";
}
//************************************ credit card ************************************
//************************************ credit card ************************************

Revision as of 19:40, 23 December 2011