Private
Public Access
1
0

adding fakturoid basic functions

This commit is contained in:
Sander Roosendaal
2021-02-01 22:53:08 +01:00
parent b6ccc3236a
commit dbe1bf1cf2
2 changed files with 131 additions and 0 deletions

View File

@@ -537,6 +537,21 @@ try:
except KeyError:
PAYMENT_PROCESSING_ON = False
try:
FAKTUROID_API_KEY = CFG['fakturoid_api_key']
except KeyError:
FAKTUROID_API_KEY = ''
try:
FAKTUROID_EMAIL = CFG['fakturoid_email']
except KeyError:
FAKTUROID_EMAIL = ''
try:
FAKTUROID_SLUG = CFG['fakturoid_slug']
except KeyError:
FAKTUROID_SLUG = ''
# ID obfuscation
try:
OPAQUE_SECRET_KEY = CFG['opaque_secret_key']