PAYMENT_SHERLOCKS_PATH='/srv/sherlocks'
PAYMENT_PARAMETERS = { 'merchant_id' : { 'Semestrielle': "014295303911111",
+ 'Annuelle': "014295303911111",
+ 'Pré-annuelle': "014295303911111",
'Estivale': "014295303911111",
'Pré-estivale': "014295303911111", },
'merchant_country': 'fr',
payments = None
# Full or partial ?
if self.payment_schedule == 'split':
- if period.name == 'Semestrielle':
+ if period.name in ('Semestrielle', 'Annuelle'):
part = int(total * 0.25)
remaining = total - 3 * part
payments = ((remaining, tomorrow),)