Delete PayPal integration v1 (#6530)

* Delete PayPal integration v1

Leaving only migrations behind

* Try to fix CI

* Fix tests some more

* Rename more plugin name instances in tests and docs

---------

Co-authored-by: Martin Gross <martin@pc-coholic.de>
This commit is contained in:
Raphael Michel
2026-09-23 11:38:16 +02:00
committed by GitHub
co-authored by Martin Gross
parent b3e0892d76
commit 59026da06b
32 changed files with 106 additions and 1840 deletions
+6 -6
View File
@@ -37,26 +37,26 @@ def event():
@pytest.mark.django_db
def test_require_plugin(event, client):
event.plugins = 'pretix.plugins.paypal'
event.plugins = 'pretix.plugins.paypal2'
event.live = True
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
r = client.get('/mrmcd/2015/paypal2/abort/', follow=False)
assert r.status_code == 302
event.plugins = ''
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
r = client.get('/mrmcd/2015/paypal2/abort/', follow=False)
assert r.status_code == 404
@pytest.mark.django_db
def test_require_live(event, client):
event.plugins = 'pretix.plugins.paypal'
event.plugins = 'pretix.plugins.paypal2'
event.live = True
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
r = client.get('/mrmcd/2015/paypal2/abort/', follow=False)
assert r.status_code == 302
event.live = False
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
r = client.get('/mrmcd/2015/paypal2/abort/', follow=False)
assert r.status_code == 403