Developer forum

Forum » Ecommerce - Standard features » Klarna - The remote name could not be resolved: 'payment.testdrive.klarna.com'

Klarna - The remote name could not be resolved: 'payment.testdrive.klarna.com'

Lars Larsen
Lars Larsen
Reply

Hi

I'm trying to test the Klarna payment provider (DW v9.15.12). But when the payment request is being sent to Klarna I get this errormessage:

Does any one know why?


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Did you solve this one?

"The remote name could not be resolved" is an exception from System.Net.WebException indicating that the URL you specified is either wrong or that the server you are hosting is unable to do either DNS lookup of the host or connect to that server on port 443.

The Klarna provider will create a payment by calling the Klarna API with data - it is this call to the web api that fails.

BR Nicolai

 
Lars Larsen
Lars Larsen
Reply

Hi Nicolai

No I haven't solved this issue. I haven't provided a URL in the provider because there is not such a parameter in the provider settings. The URL seems to be hardcoded in the Klarna provider. I'm using the Klarna Invoice and part payment provider. 

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Try to use the Klarna v3 provider instead.
Klarna Checkout v2 and Klarna Invoice and part payment is deprecated.

/Morten

 
Lars Larsen
Lars Larsen
Reply

Hi Morten

OK, I didn't know that the "Klarna Invoice and Part payment" is deprecated. Would be nice if you did update the documentation with that information ;-)

With the Klarna Checkout V3 I have successfully completed a card payment. But the customer don't want the card payment option only the part payment. Is it possible to disable the card option?

 

You must be logged in to post in the forum