# Svea add-on accelerator files missing?

**URL:** <https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520>\
**Category:** Questions\
**Tags:** accelerator, litium-7\
**Created:** [March 28, 2022, 6:57pm UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520 "2022-03-28T18:57:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdxperbol](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/kdxperbol/32/513_2.png) [@kdxperbol](https://forum.litium.com/u/kdxperbol)\
**Post date:** [March 28, 2022, 6:57pm UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/1 "2022-03-28T18:57:24Z")

</div>

When installing the Svea add-on, the accelerator files mentioned in the [installation instructions (litium.com)](https://docs.litium.com/documentation/add-ons/payment-extensions/svea-checkout/install) 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.

Can someone tell me how to install the add-on?

Litium version: 7.6 + accelerator

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [March 29, 2022, 6:24am UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/2 "2022-03-29T06:24:14Z")

</div>

Looks like the package isn’t set up correctly, can you report a bug please?

[Click here to download the files manually from Docs](https://docs.litium.com/storage/ma/8ef251e3ec5c487897cdcab9d0384ea9/3556fa9bd6164a44a3c515f6b0223392/zip/D48ADA7EE47A50D1AF3974B82B6D77D236C07BB2/Litium.AddOns.Svea%206.0.100%20AcceleratorFiles.zip?MediaArchive_ForceDownload=true) (be logged in on Docs when clicking the link)

---

<div class="post-metadata">

**Author:** ![kdxperbol](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/kdxperbol/32/513_2.png) [@kdxperbol](https://forum.litium.com/u/kdxperbol)\
**Post date:** [March 29, 2022, 6:45am UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/3 "2022-03-29T06:45:10Z")

</div>

Thanks. [Bug 59900 for you. (litium.com)](https://docs.litium.com/support/bugs/bug_details?id=59900)

What about the UI package?

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?

---

<div class="post-metadata">

**Author:** ![kdxperbol](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/kdxperbol/32/513_2.png) [@kdxperbol](https://forum.litium.com/u/kdxperbol)\
**Post date:** [March 29, 2022, 9:24am UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/4 "2022-03-29T09:24:33Z")

</div>

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?

`class SveaCheckout extends CheckoutWidget { ...`

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [March 29, 2022, 9:48am UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/5 "2022-03-29T09:48:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [April 26, 2022, 9:48am UTC](https://forum.litium.com/t/svea-add-on-accelerator-files-missing/2520/6 "2022-04-26T09:48:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
