Difference between revisions of "Template:2012FR/Form-section/Processing/Default"

From Donate
Jump to navigation Jump to search
(only mess with form after validating)
(remove paypal_ec override for Japan, it's default everywhere now)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
donationForm.redirectPayment = function(paymentMethod, paymentSubMethod, skipValidation) {
 
donationForm.redirectPayment = function(paymentMethod, paymentSubMethod, skipValidation) {
   
 
var form = document.paypalcontribution; // we should really change this some day
  +
 
if ( skipValidation || validateForm(form) ) {
 
if ( skipValidation || validateForm(form) ) {
   
Line 14: Line 16:
 
paymentSubMethod = '';
 
paymentSubMethod = '';
 
}
 
}
var form = document.paypalcontribution; // we should really change this some day
 
 
var paymentsURL = 'https://payments.wikimedia.org/index.php/Special:GatewayFormChooser';
 
var paymentsURL = 'https://payments.wikimedia.org/index.php/Special:GatewayFormChooser';
   

Latest revision as of 18:19, 8 March 2018