feat: Complete checkout overhaul with Stripe PaymentIntent integration and abandoned cart recovery
This commit is contained in:
@@ -23,11 +23,31 @@ interface CheckoutWizardProps {
|
||||
initialStep?: CheckoutStepId;
|
||||
}
|
||||
|
||||
const stepConfig: { id: CheckoutStepId; title: string; description: string }[] = [
|
||||
{ id: "package", title: "Paket", description: "Auswahl und Vergleich" },
|
||||
{ id: "auth", title: "Konto", description: "Login oder Registrierung" },
|
||||
{ id: "payment", title: "Zahlung", description: "Stripe oder PayPal" },
|
||||
{ id: "confirmation", title: "Fertig", description: "Zugang aktiv" },
|
||||
const stepConfig: { id: CheckoutStepId; title: string; description: string; details: string }[] = [
|
||||
{
|
||||
id: "package",
|
||||
title: "Paket wählen",
|
||||
description: "Auswahl und Vergleich",
|
||||
details: "Wähle das passende Paket für deine Bedürfnisse"
|
||||
},
|
||||
{
|
||||
id: "auth",
|
||||
title: "Konto einrichten",
|
||||
description: "Login oder Registrierung",
|
||||
details: "Erstelle ein Konto oder melde dich an"
|
||||
},
|
||||
{
|
||||
id: "payment",
|
||||
title: "Bezahlung",
|
||||
description: "Sichere Zahlung",
|
||||
details: "Gib deine Zahlungsdaten ein"
|
||||
},
|
||||
{
|
||||
id: "confirmation",
|
||||
title: "Fertig!",
|
||||
description: "Zugang aktiv",
|
||||
details: "Dein Paket ist aktiviert"
|
||||
},
|
||||
];
|
||||
|
||||
const WizardBody: React.FC<{ stripePublishableKey: string; privacyHtml: string }> = ({ stripePublishableKey, privacyHtml }) => {
|
||||
|
||||
Reference in New Issue
Block a user