pretix-thepay 9.0.18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ """
2
+ The Pay payment provider plugin for Pretix.
3
+
4
+ This package provides integration with The Pay payment gateway for Pretix
5
+ event ticketing system.
6
+ """
7
+ __version__ = '9.0.18'
8
+
9
+ # Import PretixPluginMeta from apps for entry point registration
10
+ from .apps import PluginApp
11
+
12
+ PretixPluginMeta = PluginApp.PretixPluginMeta
13
+
14
+ # Backward compatibility for older Pretix/Django that rely on default_app_config
15
+ default_app_config = 'pretix_thepay.apps.PluginApp'
pretix_thepay/apps.py ADDED
@@ -0,0 +1,40 @@
1
+ """
2
+ The Pay payment provider plugin configuration.
3
+ """
4
+ from django.utils.translation import gettext_lazy as _
5
+
6
+ from . import __version__
7
+
8
+ try:
9
+ from pretix.base.plugins import PluginConfig, PLUGIN_LEVEL_EVENT
10
+ except ImportError:
11
+ raise RuntimeError("Please use pretix 2.7.0 or above to run this plugin!")
12
+
13
+
14
+ class PluginApp(PluginConfig):
15
+ """
16
+ Plugin configuration for The Pay payment provider.
17
+
18
+ This class registers the The Pay payment provider with Pretix and
19
+ handles plugin initialization.
20
+ """
21
+ default = True
22
+ name = 'pretix_thepay'
23
+ verbose_name = _("The Pay")
24
+
25
+ class PretixPluginMeta:
26
+ name = _("The Pay")
27
+ author = "KrisIsNew"
28
+ version = __version__
29
+ category = 'PAYMENT'
30
+ level = PLUGIN_LEVEL_EVENT
31
+ visible = True
32
+ featured = False
33
+ restricted = False
34
+ description = _("This plugin allows you to receive payments via The Pay payment gateway")
35
+ compatibility = "pretix>=2.7.0"
36
+ settings_links = []
37
+ navigation_links = []
38
+
39
+ def ready(self):
40
+ from . import signals # NOQA
@@ -0,0 +1,5 @@
1
+ # The Pay payment provider translations
2
+ msgid ""
3
+ msgstr ""
4
+ "Content-Type: text/plain; charset=UTF-8\n"
5
+