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

From Donate
Jump to navigation Jump to search
(only mess with form after validating)
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';
   

Revision as of 17:28, 12 July 2016