diff --git a/c3l_membership/views.py b/c3l_membership/views.py --- a/c3l_membership/views.py +++ b/c3l_membership/views.py @@ -38,6 +38,9 @@ def index(): if current_app.config["DIGICASH_ENABLED"]: choices.append(("digicash", gettext("by DigiCash/Payconiq"))) + if current_app.config["SATISPAY_ENABLED"]: + choices.append(("satispay", gettext("by Satispay"))) + choices.extend( (cryptocurrency_label, " ".join((gettext("by"), cryptocurrency_label.title()))) for cryptocurrency_label, options in current_app.config[ @@ -84,7 +87,7 @@ def index(): "COMMODITY" ] price = current_conversion[commodity][status.upper()] - elif form.payment.data == "digicash": + elif form.payment.data in ("digicash", "satispay"): price = price * 100 now = date.today()