PayPal: Migrate to Order v2 API and ISU authentication (#2493) (#2614)

Co-authored-by: Raphael Michel <michel@rami.io>
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2022-05-30 15:44:22 +02:00
committed by GitHub
parent 2e0be8c801
commit 925b8334a9
38 changed files with 3475 additions and 186 deletions

View File

@@ -57,12 +57,8 @@ def test_require_live(event, client):
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
assert r.status_code == 302
r = client.get('/mrmcd/2015/paypal/webhook/', follow=False)
assert r.status_code == 405
event.live = False
event.save()
r = client.get('/mrmcd/2015/paypal/abort/', follow=False)
assert r.status_code == 403
r = client.get('/mrmcd/2015/paypal/webhook/', follow=False)
assert r.status_code == 405