mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
23 lines
580 B
Python
23 lines
580 B
Python
from collections import OrderedDict
|
|
from django.utils.translation import ugettext_lazy as _
|
|
from django import forms
|
|
|
|
from pretix.base.payment import BasePaymentProvider
|
|
|
|
|
|
class Stripe(BasePaymentProvider):
|
|
identifier = 'stripe'
|
|
verbose_name = _('Credit Card via Stripe')
|
|
settings_form_fields = OrderedDict([
|
|
])
|
|
checkout_form_fields = OrderedDict([
|
|
('cc_number',
|
|
forms.CharField(
|
|
label=_('Credit card number'),
|
|
required=False
|
|
))
|
|
])
|
|
|
|
def checkout_is_valid_session(self, request):
|
|
return False
|