1
0
mirror of https://github.com/quay/quay.git synced 2025-07-28 20:22:05 +03:00

billing: update Stripe checkout to support 3DS (PROJQUAY-5129) (#1818)

Update Stripe checkout in order to support auth requirements from
banks.
This commit is contained in:
Kenny Lee Sin Cheong
2023-04-11 14:41:37 -04:00
committed by GitHub
parent fa50c70ed0
commit 89725309be
9 changed files with 502 additions and 275 deletions

View File

@ -3605,8 +3605,8 @@ class TestUserCard(ApiTestCase):
def test_setusercard_error(self):
self.login(ADMIN_ACCESS_USER)
json = self.postJsonResponse(UserCard, data=dict(token="sometoken"), expected_code=402)
assert "carderror" in json
# token not a valid param anymore. This becomes a checkout session instead
json = self.postJsonResponse(UserCard, data=dict(token="sometoken"), expected_code=400)
class TestOrgCard(ApiTestCase):