When installing the Svea add-on, the accelerator files mentioned in the installation instructions (litium.com) do not seem to exist. And after selecting Svea Checkout as payment method, Svea Checkout does not work.
There is also a package Litium.AddOns.Svea.UI that is not mentioned in the documentation, and that is not installed by the main package. I don’t know if this should be installed as well.
Also, there is no SveaCheckout React module in the accelerator files, so the payment widget cannot be rendered. Isn’t there supposed to be a “complete” set of files for the Client folder to make Svea Checkout work, like for other payment add-ons?
Creating a minimal SveaCheckout react component (like below, based on the KlarnaCheckout react component) makes Svea Checkout work. But perhaps there should be some logic in the SveaCheckout react component?
The package is complete since in the default Accelerator there’s no particular component for each payment method. But the example code for Klarna Shipping Assistant introduces a dedicated component because it has additional needs, which I’m guessing is why you have that extra component.
The Svea widget doesn’t require anything extra (as far as I know), so just inheriting like you’ve done should be fine.