2015-04-26 13:53:00 +00:00
|
|
|
from orchestra.settings import Setting
|
2014-07-23 16:24:56 +00:00
|
|
|
|
2015-04-26 13:53:00 +00:00
|
|
|
from .. import payments
|
2014-07-23 16:24:56 +00:00
|
|
|
|
2015-04-26 13:53:00 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENT_CURRENCY = Setting('PAYMENT_CURRENCY',
|
|
|
|
'Eur'
|
|
|
|
)
|
2014-07-29 14:29:59 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENTS_DD_CREDITOR_NAME = Setting('PAYMENTS_DD_CREDITOR_NAME',
|
|
|
|
'Orchestra'
|
|
|
|
)
|
2014-09-16 15:01:02 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENTS_DD_CREDITOR_IBAN = Setting('PAYMENTS_DD_CREDITOR_IBAN',
|
|
|
|
'IE98BOFI90393912121212'
|
|
|
|
)
|
2014-09-16 15:01:02 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENTS_DD_CREDITOR_BIC = Setting('PAYMENTS_DD_CREDITOR_BIC',
|
|
|
|
'BOFIIE2D'
|
|
|
|
)
|
2014-09-16 15:01:02 +00:00
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENTS_DD_CREDITOR_AT02_ID = Setting('PAYMENTS_DD_CREDITOR_AT02_ID',
|
|
|
|
'InvalidAT02ID'
|
|
|
|
)
|
2014-09-16 15:01:02 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
PAYMENTS_ENABLED_METHODS = Setting('PAYMENTS_ENABLED_METHODS',
|
|
|
|
(
|
2015-04-26 13:53:00 +00:00
|
|
|
'orchestra.contrib.payments.methods.sepadirectdebit.SEPADirectDebit',
|
|
|
|
'orchestra.contrib.payments.methods.creditcard.CreditCard',
|
|
|
|
),
|
|
|
|
# lazy loading
|
|
|
|
choices=lambda : ((m.get_class_path(), m.get_class_path()) for m in payments.methods.PaymentMethod.get_plugins()),
|
|
|
|
multiple=True,
|
|
|
|
)
|