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

From Donate
Jump to navigation Jump to search
(UY credit card isn't astropay)
(rm astropay overrides - https://gerrit.wikimedia.org/r/#/c/284503/3/DonationInterfaceFormSettings.php)
Line 38: Line 38:
 
form.gateway.value = 'adyen';
 
form.gateway.value = 'adyen';
 
form.ffname.value = 'adyen';
 
form.ffname.value = 'adyen';
}
 
 
// Astropay overrides
 
var country = form.country.value;
 
if ( country === 'AR' || country === 'CL' || country === 'CO' || country === 'MX' ) {
 
if ( paymentMethod !== 'paypal' ) {
 
form.gateway.value = 'astropay';
 
}
 
 
}
 
}
 
 

Revision as of 16:28, 28 April 2016