MediaWiki:DonationForm T201415.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
update minimums |
update with recent fixes |
||
Line 685: | Line 685: | ||
if ( donationForm.validate( skipAmountValidation ) ) { |
if ( donationForm.validate( skipAmountValidation ) ) { |
||
if (typeof paymentSubMethod == 'undefined') { |
|||
paymentSubMethod = ''; |
|||
} |
|||
var paymentsURL = 'https://payments.wikimedia.org/index.php/Special:GatewayFormChooser'; |
var paymentsURL = 'https://payments.wikimedia.org/index.php/Special:GatewayFormChooser'; |
||
Line 694: | Line 691: | ||
if (typeof paymentSubMethod == 'undefined') { |
if (typeof paymentSubMethod == 'undefined') { |
||
paymentSubMethod = ''; |
paymentSubMethod = ''; |
||
} |
|||
// Temporary fix for https://phabricator.wikimedia.org/T254274#6188493 |
|||
if ( paymentMethod === 'cc' ) { |
|||
form.gateway.value = 'ingenico'; |
|||
} |
} |
||