Template:2012FR/Form-section/Processing/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
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