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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
remove paypal_ec override for Japan, it's default everywhere now
Line 41: Line 41:
form.gateway.value = 'adyen';
form.gateway.value = 'adyen';
form.ffname.value = 'adyen';
form.ffname.value = 'adyen';
}

// Express Checkout override for Japan. Remove once it's default.
if ( paymentMethod === 'paypal' ) {
if ( form.country.value === 'JP' ) {
form.gateway.value = 'paypal_ec';
}
}
}



Revision as of 18:19, 8 March 2018