Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • After 30 hours of digging, I found that this problem persists only on the Nginx server not in the Apache2 server.

    When I switched my server from Nginx to Apache2 then that error vanished and everything working as I expected.

    I hope someone can provide how to resolve this on the Nginx server.

    Hi @klarna,
    As I said I also tested KCO old version as well as with the latest version.

    Accept: */*
    Klarna-Correlation-Id: 6bf590db-bda5-45ad-b65e-bf5b1730d08b
    User-Agent: WordPress/5.4; https://***.com- WooCommerce: 4.0.1 - KCO:2.0.14 - PHP Version: 7.0.29 - Krokedil
    Host: api.playground.klarna.com
    Accept-Encoding: deflate, gzip
    Content-Length: 1864
    Content-Type: application/json

    And here is the same response body:

    {
      "error_code": "READ_ONLY_ORDER",
      "error_messages": [
        "Resource is read-only"
      ],
      "correlation_id": "6bf590db-bda5-45ad-b65e-bf5b1730d08b",
      "service_version": "1.0.20200603144343"
    }

    I am facing the same error:

    Accept: */*
    Klarna-Correlation-Id: 2b645492-57e9-4d11-b376-5eb6d5bfcf1d
    User-Agent: WordPress/5.4; https://siteurl.com - WooCommerce: 4.0.1 - KCO:2.0.12 - PHP Version: 7.0.29 - Krokedil
    Host: api.playground.klarna.com
    Accept-Encoding: deflate, gzip
    Content-Length: 1904
    Content-Type: application/json

    Response Body:

    {
      "error_code": "READ_ONLY_ORDER",
      "error_messages": [
        "Resource is read-only"
      ],
      "correlation_id": "2b645492-57e9-4d11-b376-5eb6d5bfcf1d",
      "service_version": "1.0.20200603144343"
    }

    Tried several ways like back-n-forth of the plugin : Klarna Checkout for WooCommerce still can’t resolve.

    Any idea?

    Ruman

    (@rumaneee)

    I also found this error and trying to figure it out how to solve it . There have several option.

    1.to set the directory 777( which is horrible !!!!!!) but this one didn’t solve my problem
    2.other one is to set the upload directory folder from Miscellaneous tab . If this option didn’t solve your problem then use Full URL path to files put your full url path like(/wp-content/uploads) or like(/home/xxx/xxxxx/wp-content/uploads).

    I think this will solve your problem.

Viewing 4 replies - 1 through 4 (of 4 total)