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

From Donate
Jump to navigation Jump to search
Line 38: Line 38:
 
form.gateway.value = 'adyen';
 
form.gateway.value = 'adyen';
 
form.ffname.value = 'adyen';
 
form.ffname.value = 'adyen';
  +
}
  +
  +
// Astropay overrides
  +
if ( country === 'AR' || country === 'CL' || country === 'CO' || country === 'MX' || country === 'UY' ) {
  +
if ( paymentMethod !== 'paypal' ) {
  +
form.gateway.value = 'astropay';
  +
}
 
}
 
}
 
 

Revision as of 13:50, 20 April 2016