# Install Direct payment/Shipment locally

**URL:** <https://forum.litium.com/t/install-direct-payment-shipment-locally/2528>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [March 31, 2022, 11:40pm UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528 "2022-03-31T23:40:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mynameisandreas](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mynameisandreas/32/282_2.png) [@mynameisandreas](https://forum.litium.com/u/mynameisandreas)\
**Post date:** [March 31, 2022, 11:40pm UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/1 "2022-03-31T23:40:58Z")

</div>

Hey, problem when im trying to install directpayment and shipment locally!

After setting up a developer certificate that is described here:

> **[Education/Developer Education/Tasks/Developer certificate at main ·...](https://github.com/LitiumAB/Education/tree/main/Developer%20Education/Tasks/Developer%20certificate)**
>
> main/Developer%20Education/Tasks/Developer%20certificate

And also setting up the docker-compose file as explained here:

> **[Education/Developer Education/Tasks/Docker at main · LitiumAB/Education](https://github.com/LitiumAB/Education/tree/main/Developer%20Education/Tasks/Docker)**
>
> main/Developer%20Education/Tasks/Docker

I get this error when im calling the payment/shippment apps for the first time (installment call) this log is from the direct payment log. data\directpayment\logs\messages.log

```auto
2022-03-31 23:34:41.1103 [App:01] [] [ERROR] [] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HMGJDS3CEJ0T", Request id "0HMGJDS3CEJ0T:00000002": An unhandled exception was thrown by the application. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'System.String'.
 ---> System.IO.IOException: IDX20807: Unable to retrieve document from: 'System.String'. HttpResponseMessage: 'System.Net.Http.HttpResponseMessage', HttpResponseMessage.Content: 'System.String'.
   at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
   at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)
   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)

```

I have tried to call the app with domain name + port, and also localhost + port. Both give the same error.

Litium version: 8.2.0/8.3.0

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [April 1, 2022, 11:48am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/2 "2022-04-01T11:48:34Z")

</div>

The problem is that the container cannot access litium to authenticate itself.  
Is the localtest domain used that we recommend in our documentation or something else? If something else is used, the localtest domain should be used instead.

---

<div class="post-metadata">

**Author:** ![mynameisandreas](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mynameisandreas/32/282_2.png) [@mynameisandreas](https://forum.litium.com/u/mynameisandreas)\
**Post date:** [April 1, 2022, 12:09pm UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/3 "2022-04-01T12:09:22Z")

</div>

im using a localtest domain as follows: [litiumpoc-app-direct-payment.localtest.me](http://litiumpoc-app-direct-payment.localtest.me)

---

<div class="post-metadata">

**Author:** ![mynameisandreas](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mynameisandreas/32/282_2.png) [@mynameisandreas](https://forum.litium.com/u/mynameisandreas)\
**Post date:** [April 4, 2022, 10:03am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/4 "2022-04-04T10:03:53Z")

</div>

@steve.redstorm any ideas? Im usinfg recomended settings.

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [April 5, 2022, 7:29am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/5 "2022-04-05T07:29:18Z")

</div>

Can you remove them and go with [docs](https://docs.litium.com/documentation/litium-apps) description and try?

---

<div class="post-metadata">

**Author:** ![mynameisandreas](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mynameisandreas/32/282_2.png) [@mynameisandreas](https://forum.litium.com/u/mynameisandreas)\
**Post date:** [April 5, 2022, 7:42am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/6 "2022-04-05T07:42:58Z")

</div>

@steve.redstorm We have done that, Im not the only one with this issue right now. I have also tried to change ports, I even cleaned my docker containers/images and started over.

the [localtest.me](http://localtest.me) domain is pointing to localhost, it’s the first request that dosent really work.  
When i talked to others who had similar problems they said it’s when the service accounts are beeing created?

I can show you a demo of it if you guys are avalible, Im spending way to much time to install a payment provider locally right now.

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [April 5, 2022, 8:04am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/7 "2022-04-05T08:04:33Z")

</div>

Yes, that would be good. Create a support case so we proceed it the right way.

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [April 5, 2022, 10:16am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/8 "2022-04-05T10:16:27Z")

</div>

Me and 2 other developers also have this issue now. Still on Litium 8.2.3. But something must have happended in the last days.

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [April 5, 2022, 10:25am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/9 "2022-04-05T10:25:04Z")

</div>

Update: Seems to work when running from Docker desktop, and not from the terminal. (Even with admin)

---

<div class="post-metadata">

**Author:** ![mynameisandreas](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mynameisandreas/32/282_2.png) [@mynameisandreas](https://forum.litium.com/u/mynameisandreas)\
**Post date:** [April 5, 2022, 11:31am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/10 "2022-04-05T11:31:23Z")

</div>

Hej @Ericsj11 , I am running docker as administrator and from docker desktop, the containers is running as they should, they start withouth any problem and have 0 logs of errors (that I can find)

Litium have been kind enough to setup a meeting to see what happens, so let’s see what the outcome is from that meeting.

---

<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:** [April 21, 2022, 10:00am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/11 "2022-04-21T10:00:19Z")

</div>

The issue was due to changes made in the dnsresolver container that changed how parameters should be supplied. An updated docker-compose for the shared dependencies has been added to Docs: [Shared dependencies](https://docs.litium.com/documentation/get-started/shared-dependencies)

---

<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:** [May 19, 2022, 10:00am UTC](https://forum.litium.com/t/install-direct-payment-shipment-locally/2528/12 "2022-05-19T10:00:52Z")

</div>

Closed on May 19, 2022, 10:00am UTC

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