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

From Donate
Jump to navigation Jump to search
(Express Checkout override for Japan. Remove once it's default.)
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' && form.country.value === 'JP' ) {
  +
form.gateway.value = 'paypal_ec';
 
}
 
}
   

Revision as of 13:33, 5 September 2017