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

From Donate
Jump to navigation Jump to search
Content deleted Content added
temporary redirect variant for 3DS issues - https://phabricator.wikimedia.org/T219445
fix, && doesn't work here
Line 41: Line 41:
/* Temporary redirect variant for 3DS issues - https://phabricator.wikimedia.org/T219445 */
/* Temporary redirect variant for 3DS issues - https://phabricator.wikimedia.org/T219445 */
var country = form.country.value;
var country = form.country.value;
if (
if ( paymentMethod === 'cc' ) {
paymentMethod === 'cc' &&
if ( country === 'NO' || country === 'SE' || country === 'PL' ) {
( country === 'NO' || country === 'SE' || country === 'PL' )
form.variant.value = 'redirect';
) {
}
form.variant.value = 'redirect';
}
}



Revision as of 22:55, 27 March 2019