django-orchestra-test/orchestra/contrib/payments/settings.py

35 lines
860 B
Python
Raw Normal View History

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
PAYMENT_CURRENCY = Setting('PAYMENT_CURRENCY',
'Eur'
)
2015-04-26 13:53:00 +00:00
PAYMENTS_DD_CREDITOR_NAME = Setting('PAYMENTS_DD_CREDITOR_NAME',
'Orchestra')
2014-09-16 15:01:02 +00:00
2015-04-26 13:53:00 +00:00
PAYMENTS_DD_CREDITOR_IBAN = Setting('PAYMENTS_DD_CREDITOR_IBAN',
2014-07-29 20:10:37 +00:00
'IE98BOFI90393912121212')
2014-09-16 15:01:02 +00:00
2015-04-26 13:53:00 +00:00
PAYMENTS_DD_CREDITOR_BIC = Setting('PAYMENTS_DD_CREDITOR_BIC',
2014-07-29 20:10:37 +00:00
'BOFIIE2D')
2014-09-16 15:01:02 +00:00
2015-04-26 13:53:00 +00:00
PAYMENTS_DD_CREDITOR_AT02_ID = Setting('PAYMENTS_DD_CREDITOR_AT02_ID',
'InvalidAT02ID')
2014-09-16 15:01:02 +00:00
2015-04-26 13:53:00 +00:00
PAYMENTS_ENABLED_METHODS = Setting('PAYMENTS_ENABLED_METHODS', (
'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,
)