'payment_information', 'label' => 'Zahlungsinformationen', 'type' => 'richtext', 'required' => true], ['name' => 'icon', 'label' => 'Symbol', 'type' => 'icon', 'required' => false], ]; } public function registrationSummary(RegistrationSummaryRequest $request): RegistrationSummaryResponse { $paymentInformation = (string)($request->configuration['payment_information'] ?? ''); $response = new RegistrationSummaryResponse(); $response->hasPaymentInformation = trim($paymentInformation) !== ''; if ($response->hasPaymentInformation) { // Medien-gerechtes Template je Render-Kontext (Web: SPA, Mail: E-Mail-tauglich). $view = $request->context === RegistrationRenderContext::Mail ? 'payment-modules.undefined.mail' : 'payment-modules.undefined.web'; $response->html = view($view, ['paymentInformation' => $paymentInformation])->render(); } return $response; } protected function invoiceClosingStatement(CreateInvoiceRequest $request): string { return ''; } }