Refactor payment method handling: Changed payment method from 'mollie' to 'wire' in CheckoutValidation and PaymentMethodSelector components. Removed Mollie-related content from Datenschutz page to streamline payment information.

This commit is contained in:
sebseb7
2025-07-16 16:35:05 +02:00
parent 1de3ba0115
commit e4b70dcbe2
3 changed files with 4 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ const PaymentMethodSelector = ({ paymentMethod, onChange, deliveryMethod, onDeli
// Handle delivery method changes - auto-switch to stripe when DHL/DPD is selected
useEffect(() => {
if ((deliveryMethod === "DHL" || deliveryMethod === "DPD") && paymentMethod === "cash") {
handlePaymentMethodChange({ target: { value: "mollie" /*stripe*/ } });
handlePaymentMethodChange({ target: { value: "wire" /*stripe*/ } });
}
}, [deliveryMethod, paymentMethod, handlePaymentMethodChange]);
@@ -57,7 +57,7 @@ const PaymentMethodSelector = ({ paymentMethod, onChange, deliveryMethod, onDeli
"/assets/images/visa_electron.png",
],
},*/
{
/*{
id: "mollie",
name: t ? t('payment.methods.cardPayment') : "Karte, Sofortüberweisung, Apple Pay, Google Pay, PayPal",
description: totalAmount < 0.50 && totalAmount > 0
@@ -70,7 +70,7 @@ const PaymentMethodSelector = ({ paymentMethod, onChange, deliveryMethod, onDeli
"/assets/images/mastercard.png",
"/assets/images/visa_electron.png",
],
},
},*/
{
id: "onDelivery",
name: t ? t('payment.methods.cashOnDelivery') : "Nachnahme",