29 lines
839 B
Python
29 lines
839 B
Python
from orchestra.settings import Setting
|
|
|
|
from .. import payments
|
|
|
|
|
|
PAYMENT_CURRENCY = Setting('PAYMENT_CURRENCY', 'Eur')
|
|
|
|
|
|
PAYMENTS_DD_CREDITOR_NAME = Setting('PAYMENTS_DD_CREDITOR_NAME', 'Orchestra')
|
|
|
|
|
|
PAYMENTS_DD_CREDITOR_IBAN = Setting('PAYMENTS_DD_CREDITOR_IBAN', 'IE98BOFI90393912121212')
|
|
|
|
|
|
PAYMENTS_DD_CREDITOR_BIC = Setting('PAYMENTS_DD_CREDITOR_BIC', 'BOFIIE2D')
|
|
|
|
|
|
PAYMENTS_DD_CREDITOR_AT02_ID = Setting('PAYMENTS_DD_CREDITOR_AT02_ID', 'InvalidAT02ID')
|
|
|
|
|
|
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,
|
|
)
|