• Resolved jogwe

    (@jogwe)


    This appear when I check Klarna in the Cart. Paypal works just fine, but Klara gives this red window of error when I choose it:

    {“error_code”:”BAD_VALUE”,”error_messages”:[“Bad value: merchant_urls.terms (must be a valid http or https URI)”],”correlation_id”:”17347634-255e-4c88-b6da-9003de10112b”,”service_version”:”1.0.20210121072750″} Bad value: merchant_urls.terms (must be a valid http or https URI)

    I can’t find the info about what it might be.
    On Klarna I just see ERROR 400.

    error_code:
    BAD_VALUE
    error_messages:
    Bad value: order_lines[0].total_tax_amount

    • This topic was modified 4 years, 1 month ago by jogwe.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    Hi,

    We have covered the ”BAD_VALUE”,”error_messages”:[“Bad value: merchant_urls.terms (must be a valid http or https URI)”] in our documentation.

    You can read more about that here:
    https://docs.krokedil.com/article/287-klarna-checkout-faq#h-H2_0

    This error BAD_VALUE
    error_messages:
    Bad value: order_lines[0].total_tax_amount
    Where do you see that?

    Best regards
    Andreas
    [email protected]

    Thread Starter jogwe

    (@jogwe)

    Thanks, now that works. But I’m getting this now instead:

    {“http_status_code”:401,”http_status_message”:”Unauthorized”,”internal_message”:”authorization_error”}

    Answer from earlier post: That part you asked where I saw it, it were online at Klara.

    //EDIT//
    I see where now, but I have no idea why it won’t connect now. It worked earlier, but now it just decided not to work. I even created new API codes. Any ideas?

    • This reply was modified 4 years, 1 month ago by jogwe.
    Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    Hi,

    a 401 usually means:

    401 – Unauthorized
    If you receive this error message it usually means that you are using your credentials for the wrong plugin. It could also mean that the username and/or password is incorrect, try copying & pasting instead of typing in directly and double check for whitespace. If you need support, you should email your regions Klarna Merchant contact.

    https://docs.krokedil.com/article/267-klarna-checkout-error-codes

    Have your credentials worked with Klarna Checkout before?

    Best regards
    Andreas

    Plugin Contributor Kristi at Klarna

    (@klarna)

    Hi @jogwe ,
    To add to the comments from @boozebrorsan, your Klarna merchant account is currently contracted & configured for Klarna Payments, and the 401/Unauthorized error is happening when you use the Klarna Checkout plugin. Please either switch to the Klarna Payments plugin, or update your Klarna contract to Klarna Checkout.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bad Value Merchant Urls’ is closed to new replies.