How to add a new Enhanced Scheme Data (ESD) type to the Adyen Plugin?
Prerequisites
How the ESD system works?
interface EsdCollectorInterface
{
public function supports(string $merchantCategoryCode): bool;
public function collect(OrderInterface $order): array;
}Design your new ESD type
Step 1: Implement the Collector
Step 2: Register the service (with tag)
Step 3: Add a translation key
Step 4: Wire it into admin configuration
Was this helpful?
