diff --git a/pretix_eth/payment.py b/pretix_eth/payment.py index fa5f377b..3d6d3725 100644 --- a/pretix_eth/payment.py +++ b/pretix_eth/payment.py @@ -52,10 +52,12 @@ def decode(self, s: str): raise JSONDecodeError("Please supply integers or floats as values.", "aaabbb", 0) return decoded + class EthereumPaymentForm(PaymentProviderForm): class Media: js = ('pretix_eth/eth_payment_form.js',) + class Ethereum(BasePaymentProvider): identifier = "ethereum" verbose_name = _("ETH or DAI") @@ -240,7 +242,6 @@ def payment_form_fields(self): forms.ChoiceField( label=_("Payment currency"), help_text=_("Select the currency you will use for payment."), - #widget=forms.RadioSelect, choices=currency_type_choices, initial="ETH", ),