Template:2012FR/Form-section/Processing/Default: Difference between revisions
Content deleted Content added
Khorn (WMF) (talk | contribs) No edit summary |
rename redirectPayment, add way to skip validation (for USD methods where there's no need to select an amount) |
||
Line 10:
switch (legacyPaymentMethod) {
case 'cc':
donationForm.
break;
Line 19:
case 'ew-pp-usd':
case 'ew-pp-eur':
donationForm.
break;
case 'dd':
donationForm.
break;
case 'rtbt-id':
donationForm.
break;
case 'ew-yd':
donationForm.
break;
case 'rtbt-sf':
donationForm.
break;
case 'ew-amazon':
donationForm.
break;
case 'obt-bp':
donationForm.
break;
case 'ew-wm':
donationForm.
break;
case 'cash-bl':
donationForm.
break;
case 'rtbt-en':
donationForm.
break;
}
Line 61:
}
donationForm.
// set up inputs
Line 110:
donationForm.addAnalytics();
if (validateForm(form) || skipValidation) {
form.method = "POST";
form.submit();
|