Template:2012FR/Form-section/Processing/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
fixed forcing gateway to astro for latam countries |
|||
Line 38:
form.gateway.value = 'adyen';
form.ffname.value = 'adyen';
}
// Astropay overrides
var country = form.country.value;
if ( country === 'AR' || country === 'CL' || country === 'CO' || country === 'MX' || country === 'UY' ) {
if ( paymentMethod !== 'paypal' ) {
form.gateway.value = 'astropay';
}
}
|
Revision as of 18:22, 20 April 2016