|
3 | 3 | import pytest |
4 | 4 |
|
5 | 5 | import gopay |
6 | | -from gopay.enums import BankSwiftCode, Currency, Language, PaymentInstrument |
| 6 | +from gopay.enums import BankSwiftCode, Currency, Language, PaymentInstrument, BnplType |
7 | 7 | from gopay.http import Request, Response |
8 | 8 |
|
9 | 9 |
|
@@ -61,13 +61,18 @@ def base_payment() -> dict: |
61 | 61 | "allowed_payment_instruments": [ |
62 | 62 | PaymentInstrument.BANK_ACCOUNT, |
63 | 63 | PaymentInstrument.PAYMENT_CARD, |
| 64 | + # PaymentInstrument.TWISTO, |
| 65 | + # PaymentInstrument.SKIPPAY |
64 | 66 | ], |
| 67 | + # "default_payment_instrument": PaymentInstrument.TWISTO, |
65 | 68 | "allowed_swifts": [ |
66 | 69 | BankSwiftCode.CESKA_SPORITELNA, |
67 | 70 | BankSwiftCode.RAIFFEISENBANK, |
68 | 71 | ], |
69 | | - #'default_swift': BankSwiftCode.CESKA_SPORITELNA, |
70 | | - #'default_payment_instrument': PaymentInstrument.BANK_ACCOUNT, |
| 72 | + # "allowed_bnpl_types": [BnplType.DEFERRED_PAYMENT, BnplType.PAY_IN_THREE], |
| 73 | + # "default_bnpl_type": BnplType.DEFERRED_PAYMENT, |
| 74 | + "default_swift": BankSwiftCode.CESKA_SPORITELNA, |
| 75 | + "default_payment_instrument": PaymentInstrument.BANK_ACCOUNT, |
71 | 76 | "contact": { |
72 | 77 | "email": "test.test@gopay.cz", |
73 | 78 | }, |
|
0 commit comments