From bd1efc991691bb874d0ef5e5e2497a4945be3e94 Mon Sep 17 00:00:00 2001 From: "T. Almroth" Date: Tue, 27 Jul 2021 19:19:02 +0200 Subject: [PATCH] * Fix issue #90 - usePayPageDirectBankOnly() causing HTTP 308 BAD_PAYMENTMETHOD --- src/HostedService/Helper/ExcludePayments.php | 3 --- src/HostedService/Payment/DirectPayment.php | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/HostedService/Helper/ExcludePayments.php b/src/HostedService/Helper/ExcludePayments.php index f3775152..811bcad1 100644 --- a/src/HostedService/Helper/ExcludePayments.php +++ b/src/HostedService/Helper/ExcludePayments.php @@ -32,9 +32,6 @@ public static function excludeInvoicesAndPaymentPlan() $methods[] = SystemPaymentMethod::INVOICE_FI; $methods[] = SystemPaymentMethod::PAYMENTPLAN_FI; - $methods[] = SystemPaymentMethod::INVOICE_NL; - $methods[] = SystemPaymentMethod::PAYMENTPLAN_NL; - $methods[] = SystemPaymentMethod::INVOICE_NO; $methods[] = SystemPaymentMethod::PAYMENTPLAN_NO; diff --git a/src/HostedService/Payment/DirectPayment.php b/src/HostedService/Payment/DirectPayment.php index b829ce69..bab771bf 100644 --- a/src/HostedService/Payment/DirectPayment.php +++ b/src/HostedService/Payment/DirectPayment.php @@ -46,8 +46,6 @@ protected function configureExcludedPaymentMethods() $methods = ExcludePayments::excludeInvoicesAndPaymentPlan(); //card - $methods[] = SystemPaymentMethod::KORTCERT; - $methods[] = SystemPaymentMethod::SKRILL; $methods[] = SystemPaymentMethod::SVEACARDPAY; //other