Formular-Infrastruktur: Contact/Demo/Helpdesk mit E-Mail- und Salesforce-Delivery, JSON-Renderer-Erweiterungen, Crop-Variants

Build-Artefakte in public/_frontend/assets nicht enthalten.
This commit is contained in:
orasche committed 2026-07-30 13:12:45 +02:00
1 parent eae40f4286
commit a739dd8fe3
51 files changed
+1598 -303

No files matched your search

@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace Evomedien\Vitec\Forms\Delivery;
/**
* Salesforce delivery — PREPARED STUB.
*
* The old website posted the contact form to Salesforce Web-to-Lead
* (custom field ids like 00N3z00000DCiyV). When credentials / the target
* setup are decided, implement deliver() here (Web-to-Lead POST or REST
* API) including the camelCase -> Salesforce field mapping. Until then any
* submission with delivery=salesforce is stored with status "failed" and
* this message — no data is lost.
*/
final class SalesforceDelivery implements DeliveryInterface
{
public function deliver(string $formKey, array $payload, array $settings): void
{
throw new \RuntimeException(
'Salesforce delivery is prepared but not configured yet — submission kept in the log.'
);
}
}