From 21977b8f41b762a12433662ce9b7959d6e26f2d0 Mon Sep 17 00:00:00 2001 From: Thomas Bartelt Date: Sun, 27 Sep 2026 22:19:56 +0200 Subject: [PATCH] feat(payments/mollie): Zahlart 'Online-Banking' (Pay by Bank, paybybank); Google Pay inaktiv (nur Direkt-Integration) --- core/payments/install_mollie.sql | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/core/payments/install_mollie.sql b/core/payments/install_mollie.sql index 6481ffc..4f3f00e 100644 --- a/core/payments/install_mollie.sql +++ b/core/payments/install_mollie.sql @@ -28,7 +28,11 @@ ALTER TABLE `shipping_area` ADD COLUMN IF NOT EXISTS `active_mollie_googlepay` TINYINT(2) NOT NULL DEFAULT 1, ADD COLUMN IF NOT EXISTS `add_mollie_googlepay` DECIMAL(9,2) NOT NULL DEFAULT 0, ADD COLUMN IF NOT EXISTS `account_type_mollie_googlepay` TINYINT(4) NOT NULL DEFAULT 0, - ADD COLUMN IF NOT EXISTS `free_payment_mollie_googlepay` DECIMAL(6,2) NOT NULL DEFAULT 0; + ADD COLUMN IF NOT EXISTS `free_payment_mollie_googlepay` DECIMAL(6,2) NOT NULL DEFAULT 0, + ADD COLUMN IF NOT EXISTS `active_mollie_paybybank` TINYINT(2) NOT NULL DEFAULT 1, + ADD COLUMN IF NOT EXISTS `add_mollie_paybybank` DECIMAL(9,2) NOT NULL DEFAULT 0, + ADD COLUMN IF NOT EXISTS `account_type_mollie_paybybank` TINYINT(4) NOT NULL DEFAULT 0, + ADD COLUMN IF NOT EXISTS `free_payment_mollie_paybybank` DECIMAL(6,2) NOT NULL DEFAULT 0; -- 2) Einstellungen (Zahlart-Editor, Reiter "Einstellungen", Gruppe mollie). API-Keys sind -- Secrets (verschluesselt), nicht hier: test_api_key, live_api_key. @@ -76,6 +80,22 @@ SELECT 'Google Pay', 'mollie', 'googlepay', 1, 6, 'mollie_googlepay', 'mollie' FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `payment_methods` WHERE `module`='mollie' AND `argument`='googlepay'); +-- Google Pay: Mollie lehnt method=googlepay im Redirect-Verfahren ab (HTTP 500, 27.09.2026) -- +-- gibt es nur als Direkt-Integration mit Token. Zeile bleibt angelegt, aber inaktiv. +UPDATE `payment_methods` SET active=0 WHERE module='mollie' AND argument='googlepay'; + +-- "Online-Banking" = Mollie Pay by Bank (Open Banking, Nachfolger von Sofortueberweisung). +-- NICHT "Sofortueberweisung" nennen: eingetragene Marke der Sofort GmbH (Klarna). +-- Status nach Freigabe erst pending, paid kommt per Webhook (Echtzeit: Minuten, sonst 2-3 Werktage). +INSERT INTO `payment_methods` + (`name`, `module`, `argument`, `active`, `rang`, `invoice_text`, `order_text`, `order_email_text`, `helperjoinkey`, `configuration_group_id`) +SELECT 'Online-Banking', 'mollie', 'paybybank', 1, 7, + 'Bezahlung erfolgte per Online-Banking (Pay by Bank)', + 'Sie zahlen direkt von Ihrem Bankkonto: Bank waehlen, im Online-Banking freigeben, fertig.', + 'Der zu zahlende Betrag wurde per Online-Banking ueberwiesen.', + 'mollie_paybybank', 'mollie' +FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `payment_methods` WHERE `module`='mollie' AND `argument`='paybybank'); + -- 4) FREISCHALTUNG (manuell, nach Test): Kundengruppen 1 Endverbraucher, 103 Gast -- (Haendler 101 bewusst nicht -- die zahlen kundenspezifisch), Versandgebiet 1. -- INSERT INTO `customer_group_payment_method_configuration` (`group_id`, `payment_method_id`, `shipping_area_id`, `active`)