mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fixed #132 -- Reverse payment fee calculation
This commit is contained in:
19
src/tests/testdummy/payment.py
Normal file
19
src/tests/testdummy/payment.py
Normal file
@@ -0,0 +1,19 @@
|
||||
import logging
|
||||
|
||||
from pretix.base.payment import BasePaymentProvider
|
||||
|
||||
logger = logging.getLogger('tests.testdummy.ticketoutput')
|
||||
|
||||
|
||||
class DummyPaymentProvider(BasePaymentProvider):
|
||||
identifier = 'testdummy'
|
||||
verbose_name = 'Test dummy'
|
||||
|
||||
def order_pending_render(self, request, order) -> str:
|
||||
pass
|
||||
|
||||
def payment_is_valid_session(self, request) -> bool:
|
||||
pass
|
||||
|
||||
def checkout_confirm_render(self, request) -> str:
|
||||
pass
|
||||
Reference in New Issue
Block a user