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

From Donate
Jump to navigation Jump to search
Content deleted Content added
fixed forcing gateway to astro for latam countries
UY credit card isn't astropay
Line 42: Line 42:
// Astropay overrides
// Astropay overrides
var country = form.country.value;
var country = form.country.value;
if ( country === 'AR' || country === 'CL' || country === 'CO' || country === 'MX' || country === 'UY' ) {
if ( country === 'AR' || country === 'CL' || country === 'CO' || country === 'MX' ) {
if ( paymentMethod !== 'paypal' ) {
if ( paymentMethod !== 'paypal' ) {
form.gateway.value = 'astropay';
form.gateway.value = 'astropay';

Revision as of 17:28, 22 April 2016