Phase S4 – Abos über Stripe (E2E komplett im Testmodus): - Abo-/Recovery-Checkout: customer_creation=always + setup_future_usage=off_session - StripePaymentService::chargeAbo (off-session PaymentIntent, Idempotency-Key), StripeGateway, Provider-Dispatch im Abbuchungs-Cron (PAYONE-Pfad unverändert) - Webhook: Zahlungsmittel-Capture vor Paid-Pfad, 503 payment_not_yet_visible bei Cron-Transaktions-Race; Command stripe:process-pending-events (Cron-Ende + 10-min Scheduler) verarbeitet liegengebliebene Events nach - createNewAbo/advanceAboAfterRecoveryPayment Stripe-aware inkl. Race-Absicherung; Recovery-Orders nutzen advanceAboAfterRecoveryPayment (latenter PAYONE-Duplikat-Bug) - Migrationen: Stripe-Abo-Spalten auf shopping_payments; clearingtype varchar(3)→(20) inkl. Reparatur der zu 'str' gekürzten Live-Zeilen Phase S5 – Zahlungsart ändern (Scope: jede Zahlart, nicht nur Kreditkarte): - Stripe Checkout mode=setup ohne Abbuchung; PAYONE-Abos ziehen beim Wechsel auf Stripe um (Auslaufmodell §7.2) - AboPaymentMethodService: beginStripeChange/finalize/applyStripePaymentMethod (idempotent, detacht alte PM, card_changes-Log); Webhook setup_intent.succeeded als Sicherheitsnetz; Einstiege Portal/CRM/Berater-Kunden-Link flow-abhängig - Views/Mails flow-abhängig („Zahlungsweise" statt „Kreditkarte") Phase S7.6 – Zahlarten-Kommunikation: - Einheitliche Zahlarten-Logos (SVG) + wiederverwendbares Partial payment_logos; Checkout/Footer zeigen Kern-Zahlarten + „···"-Icon, /zahlungsarten komplett neu mit allen aktiven Stripe-Zahlarten (gegen Account-Konfiguration verifiziert) und Vorkasse (PAYONE); Sofort/SEPA entfernt Tests: StripeAboTest (15), StripePaymentMethodChangeTest (10), PaymentMethodsCommunicationTest (28), PaymentProviderManagerTest angepasst. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
108 lines
6.2 KiB
PHP
108 lines
6.2 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>{{ $mailTitle ?? __('abo.card_update_link_mail_subject') }}</title>
|
|
<style type="text/css">
|
|
a { text-decoration: none; border: 0; outline: none; color: #919f7a; }
|
|
a:hover { color: #b6b600; }
|
|
td, h1, h2, h3 { font-family: Helvetica, Verdana, Arial, sans-serif; font-weight: 400; }
|
|
td { text-align: left; }
|
|
body { -webkit-font-smoothing: antialiased; width: 100%; height: 100%; color: #37302d; background: #ffffff; font-size: 15px; line-height: 26px; }
|
|
table { border-collapse: separate !important; }
|
|
.headline { color: #37302d; font-size: 18px; }
|
|
.force-full-width { width: 100% !important; }
|
|
</style>
|
|
</head>
|
|
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
|
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
|
<tr>
|
|
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
|
<br>
|
|
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
|
<tr>
|
|
<td align="left" valign="top">
|
|
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td style="text-align:center;">
|
|
<center>
|
|
<picture style="text-align: center">
|
|
<img src="https://my.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
|
</picture>
|
|
</center>
|
|
<br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
|
<tr>
|
|
<td class="headline">
|
|
<b>{{ $mailTitle ?? __('abo.card_update_link_mail_subject') }}</b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#37302d;line-height:1.6em;">
|
|
{{ $salutation }},
|
|
<br><br>
|
|
{{ $mailIntro ?? __('abo.card_update_link_mail_intro') }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table style="background-color: #f6fdf5; border: 2px solid #b5c49b; border-radius: 8px; margin: 20px 0;" cellpadding="15" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td style="text-align: center; padding-top: 10px;">
|
|
<a href="{{ $link }}" style="display: inline-block; background: #FFCC00; color: #37302d; padding: 12px 24px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 14px;">
|
|
{{ $mailButton ?? __('abo.card_update_link_mail_button') }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#7B7B7E; font-size: 13px; line-height:1.6em;">
|
|
{{ __('abo.card_update_link_mail_hint') }}
|
|
<br>
|
|
<a href="{{ $link }}" style="color:#7B7B7E; text-decoration: underline; word-break: break-all;">{{ $link }}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#37302d;line-height:1.6em;">
|
|
<br>
|
|
{{ $greetings }}<br>
|
|
{{ $sender }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<center>
|
|
<table cellpadding="0" cellspacing="0" class="force-full-width" bgcolor="#f8f8f8" style="margin: 0 auto; text-align: center;line-height:1.6em;">
|
|
<tr>
|
|
<td style="color:#7B7B7E; font-size:14px; text-align: center;line-height:1.6em;" align="center">
|
|
<p>{{__('email.footer_copy1')}}</p>
|
|
<br>
|
|
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
|
<br>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#bbbbbb; font-size:12px; text-align: center;line-height:1.6em;" align="center">
|
|
<p>{{__('email.footer_copy2')}}</p>
|
|
<a href="https://www.mivita.care/datenschutz">{{ __('dataprotect.data_protect') }}</a> <br>
|
|
<p>{{__('email.footer_copy3')}}</p>
|
|
<br><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|