From ad606fca644f2aa5d73f80e69e13b78c8ec54732 Mon Sep 17 00:00:00 2001 From: pmaryska Date: Thu, 29 Aug 2024 15:13:02 +0200 Subject: [PATCH] Added Bnpl types constants --- src/Definition/Payment/BnplType.php | 9 +++++++++ tests/integration/CreatePaymentTest.php | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 src/Definition/Payment/BnplType.php diff --git a/src/Definition/Payment/BnplType.php b/src/Definition/Payment/BnplType.php new file mode 100644 index 0000000..1b1fb91 --- /dev/null +++ b/src/Definition/Payment/BnplType.php @@ -0,0 +1,9 @@ + [ - # 'LATER', - # 'THIRDS' + # BnplType::DEFERRED_PAYMENT, + # BnplType::PAY_IN_THREE # ], - # 'default_bnpl_type' => 'LATER', + # 'default_bnpl_type' => BnplType::DEFERRED_PAYMENT, # 'default_payment_instrument' => PaymentInstrument::TWISTO 'allowed_swifts' => [BankSwiftCode::RAIFFEISENBANK, BankSwiftCode::CESKA_SPORITELNA], # 'default_swift' => BankSwiftCode::FIO_BANKA, # 'default_payment_instrument' => PaymentInstrument::BANK_ACCOUNT, - # 'default_payment_instrument' => PaymentInstrument::TWISTO, 'contact' => [ 'email' => 'test.test@gopay.cz', ],