Anyone who wants to register a custom payment method in the
Hyvä checkout will not get far with the classic
Knockout renderer lists from the Luma checkout. Hyvä checkout resolves payment templates through block aliases in layout XML, while all form logic is built entirely with
Alpine.js, phtml templates and PHP view models. This article walks through the full path from the payment method model to template registration, Alpine validation and server-side hooks, all the way to PCI compliance considerations for
Magento 2.4.8-p4.