Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ideal Payment Update (CS2). Sessions Authentication Type Update #161

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion checkout_sdk/payments/payment_apm.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class RequestIdealSource(PaymentRequestSource):
bic: str
description: str
language: str

Expand Down
3 changes: 3 additions & 0 deletions checkout_sdk/sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class SessionSourceType(str, Enum):
class AuthenticationType(str, Enum):
REGULAR = 'regular'
RECURRING = 'recurring'
INSTALLMENT = 'installment'
MAINTAIN_CARD = 'maintain_card'
ADD_CARD = 'add_card'


class Category(str, Enum):
Expand Down
2 changes: 1 addition & 1 deletion tests/payments/request_apm_payments_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
account_holder, REFERENCE, DESCRIPTION


@pytest.mark.skip(reason='not available')
def test_should_request_ideal_payment(default_api):
request_source = RequestIdealSource()
request_source.bic = 'INGBNL2A'
request_source.description = 'ORD50234E89'
request_source.language = 'nl'

Expand Down
Loading