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

From Donate
Jump to navigation Jump to search
Content deleted Content added
only mess with form after validating
No edit summary
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