• Resolved yunse

    (@yunse)


    Hi Team,
    we use the newest update and have Problems with Klarna Payments Plugin for WordPress since 3 weeks now. By some users the Klarna payment works and by some not. It seems not to be a constant Problem. I got this Problem error in the backend: “Klarna Payments Authorization failed”.
    In the frontend the customer gets just a never ending loading Icon, istead of the Pop-up where he needs to enter the birth date.

    Here the Log-File:

    08-02-2019 @ 11:17:10 – {“id”:”4ba3662c-1d9d-6f3d-817c-fc843b882a88″,”type”:”POST”,”title”:”Klarna Payments create session request.”,”request”:{“headers”:{“Authorization”:”Basic SzYyMTQ1NF82ZjYyMDA5NjkzM2M6bDVoYWNCeUxIT1g1Y29VcQ==”,”Content-Type”:”application\/json”},”user-agent”:”WordPress\/5.2.2; https:\/\/betailor.de – KP:1.8.2 – PHP Version: 7.2.20 – Krokedil”,”body”:{“purchase_country”:”DE”,”purchase_currency”:”EUR”,”locale”:”de-de”,”order_amount”:6996,”order_tax_amount”:0,”order_lines”:[{“reference”:”33999″,”name”:”Anfrage Reimerts S. Fahne Durchmesser weiten auf 5cm D.”,”quantity”:1,”unit_price”:5998,”tax_rate”:0,”total_amount”:5998,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/anfrage-reimertz-fahne-weiten-5cm-d\/”},{“type”:”shipping_fee”,”reference”:”Versand”,”name”:”Versand”,”quantity”:1,”unit_price”:998,”tax_rate”:0,”total_amount”:998,”total_tax_amount”:0}],”customer”:{“type”:”person”}}},”response”:{“body”:{“session_id”:”4ba3662c-1d9d-6f3d-817c-fc843b882a88″,”client_token”:”eyJhbGciOiJSUzI1NiJ9.ewogICJzZXNzaW9uX2lkIiA6ICI0YmEzNjYyYy0xZDlkLTZmM2QtODE3Yy1mYzg0M2I4ODJhODgiLAogICJiYXNlX3VybCIgOiAiaHR0cHM6Ly9rbGFybmEtcGF5bWVudHMtZXUua2xhcm5hLmNvbSIsCiAgImRlc2lnbiIgOiAia2xhcm5hIiwKICAibGFuZ3VhZ2UiIDogImRlIiwKICAicHVyY2hhc2VfY291bnRyeSIgOiAiREUiLAogICJ0cmFjZV9mbG93IiA6IGZhbHNlLAogICJlbnZpcm9ubWVudCIgOiAicHJvZHVjdGlvbiIsCiAgIm1lcmNoYW50X25hbWUiIDogIll1bmVzIEVtaXIiLAogICJzZXNzaW9uX3R5cGUiIDogIlBBWU1FTlRTIiwKICAiY2xpZW50X2V2ZW50X2Jhc2VfdXJsIiA6ICJodHRwczovL2V2dC5rbGFybmEuY29tIiwKICAiZXhwZXJpbWVudHMiIDogWyBdCn0.tnYY5egjbgIZr1h1EgB4z5BiWkYRpKbWLGsCmeAnfuXR9kpf0oJEy4hhPQs0JQA2CzIpKZ1N_NxXpglFbQFMKWlk5OYWJoysWDweZy48JchDa-Uv4mUPhY0DTyNIsPQqpdwEyyyXxPUzCkRgVUB9VdgtnRxyUO3l12NerrVYLq-6QeVielcvZycAJgHsFb_L8H_nVZ8Y7n6PhSJR_KR82Q2RRP-2Wfs-_-WLVD01DPCXGxmbF9uuMYlg0lAHLbj5cbggdUMOkQzNGwqrdIBFboZT2cqtlVrv1OGxVoW0xKzmCzwws1L3Rtd6bi4AcrNLZmxLrhPkY3W4-psgXYA5kg”,”payment_method_categories”:[{“identifier”:”pay_later”,”name”:”Rechnung.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}},{“identifier”:”pay_now”,”name”:”Sofort bezahlen.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}}]},”code”:200},”timestamp”:”2019-08-02 09:17:10″,”plugin_version”:”1.8.2″}
    08-02-2019 @ 11:17:10 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:17:15 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:17:15 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:18:09 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:18:09 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:18:59 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:18:59 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:42:04 – {“id”:”61aabf81-b2f6-60a0-b185-1fd959f0fd66″,”type”:”POST”,”title”:”Klarna Payments create session request.”,”request”:{“headers”:{“Authorization”:”Basic SzYyMTQ1NF82ZjYyMDA5NjkzM2M6bDVoYWNCeUxIT1g1Y29VcQ==”,”Content-Type”:”application\/json”},”user-agent”:”WordPress\/5.2.2; https:\/\/betailor.de – KP:1.8.2 – PHP Version: 7.2.20 – Krokedil”,”body”:{“purchase_country”:”DE”,”purchase_currency”:”EUR”,”locale”:”de-de”,”order_amount”:7000,”order_tax_amount”:0,”order_lines”:[{“reference”:”12736″,”name”:”Jacke \/ Mantel \u00e4ndern”,”quantity”:1,”unit_price”:7000,”tax_rate”:0,”total_amount”:7000,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/jacken-mantel\/”},{“type”:”shipping_fee”,”reference”:”23561″,”name”:”Kostenloser R\u00fcckversand”,”quantity”:1,”unit_price”:0,”tax_rate”:0,”total_amount”:0,”total_tax_amount”:0}],”customer”:{“type”:”person”}}},”response”:{“body”:{“session_id”:”61aabf81-b2f6-60a0-b185-1fd959f0fd66″,”client_token”:”eyJhbGciOiJSUzI1NiJ9.ewogICJzZXNzaW9uX2lkIiA6ICI2MWFhYmY4MS1iMmY2LTYwYTAtYjE4NS0xZmQ5NTlmMGZkNjYiLAogICJiYXNlX3VybCIgOiAiaHR0cHM6Ly9rbGFybmEtcGF5bWVudHMtZXUua2xhcm5hLmNvbSIsCiAgImRlc2lnbiIgOiAia2xhcm5hIiwKICAibGFuZ3VhZ2UiIDogImRlIiwKICAicHVyY2hhc2VfY291bnRyeSIgOiAiREUiLAogICJ0cmFjZV9mbG93IiA6IGZhbHNlLAogICJlbnZpcm9ubWVudCIgOiAicHJvZHVjdGlvbiIsCiAgIm1lcmNoYW50X25hbWUiIDogIll1bmVzIEVtaXIiLAogICJzZXNzaW9uX3R5cGUiIDogIlBBWU1FTlRTIiwKICAiY2xpZW50X2V2ZW50X2Jhc2VfdXJsIiA6ICJodHRwczovL2V2dC5rbGFybmEuY29tIiwKICAiZXhwZXJpbWVudHMiIDogWyBdCn0.W4P_tnJ5q9qR8paM-VuJw50UR5mYa8QDG7rLOBRG5JLNqG7Z9IrSHBKI56oNfJ1VuIFMLDswZsWy5qClX_czVkLKrvnLQlN8KIWesxA9rb45YVNGR_KPXg1zGTIjiAfNkF8m2mSU4qSpxeQIUp_ybtYk4jaDi6yLHCnx3UOAdgZBCcmEhG4wF4pV7LpzQ9CBtYkBvzebw_j97PBAvamE8gkCnRCpD7n6a6XLSOJGOWzBEcdNcMgH2ch6qJ6kVN8X-p4fSLYcgMq6r2S1qisHU5Eq5XuZjYlqScx0ZeVMQf2fbTQs2y5AhIR0c7qsTOijRhnFzsJaCEFDRsg26p7IUg”,”payment_method_categories”:[{“identifier”:”pay_later”,”name”:”Rechnung.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}},{“identifier”:”pay_now”,”name”:”Sofort bezahlen.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}}]},”code”:200},”timestamp”:”2019-08-02 09:42:04″,”plugin_version”:”1.8.2″}
    08-02-2019 @ 11:42:05 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:42:11 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:42:11 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:43:22 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 11:43:22 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 16:54:27 – {“id”:”52ae2015-829d-67fd-a083-0a5516c6ece5″,”type”:”POST”,”title”:”Klarna Payments create session request.”,”request”:{“headers”:{“Authorization”:”Basic SzYyMTQ1NF82ZjYyMDA5NjkzM2M6bDVoYWNCeUxIT1g1Y29VcQ==”,”Content-Type”:”application\/json”},”user-agent”:”WordPress\/5.2.2; https:\/\/betailor.de – KP:1.8.2 – PHP Version: 7.2.20 – Krokedil”,”body”:{“purchase_country”:”DE”,”purchase_currency”:”EUR”,”locale”:”de-de”,”order_amount”:2297,”order_tax_amount”:0,”order_lines”:[{“reference”:”19209″,”name”:”Jeans – Reparieren”,”quantity”:1,”unit_price”:2297,”tax_rate”:0,”total_amount”:2297,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/jeans-reparieren\/”},{“type”:”shipping_fee”,”reference”:”23561″,”name”:”Kostenloser R\u00fcckversand”,”quantity”:1,”unit_price”:0,”tax_rate”:0,”total_amount”:0,”total_tax_amount”:0}],”customer”:{“type”:”person”}}},”response”:{“body”:{“session_id”:”52ae2015-829d-67fd-a083-0a5516c6ece5″,”client_token”:”eyJhbGciOiJSUzI1NiJ9.ewogICJzZXNzaW9uX2lkIiA6ICI1MmFlMjAxNS04MjlkLTY3ZmQtYTA4My0wYTU1MTZjNmVjZTUiLAogICJiYXNlX3VybCIgOiAiaHR0cHM6Ly9rbGFybmEtcGF5bWVudHMtZXUua2xhcm5hLmNvbSIsCiAgImRlc2lnbiIgOiAia2xhcm5hIiwKICAibGFuZ3VhZ2UiIDogImRlIiwKICAicHVyY2hhc2VfY291bnRyeSIgOiAiREUiLAogICJ0cmFjZV9mbG93IiA6IGZhbHNlLAogICJlbnZpcm9ubWVudCIgOiAicHJvZHVjdGlvbiIsCiAgIm1lcmNoYW50X25hbWUiIDogIll1bmVzIEVtaXIiLAogICJzZXNzaW9uX3R5cGUiIDogIlBBWU1FTlRTIiwKICAiY2xpZW50X2V2ZW50X2Jhc2VfdXJsIiA6ICJodHRwczovL2V2dC5rbGFybmEuY29tIiwKICAiZXhwZXJpbWVudHMiIDogWyBdCn0.dZSeZGHUacL6sEMWBMDkvGZB1zZQLsww4FJXDt_DKkuPUzVNAWYqWW7XiSgEisdzJtILVzKU4CqW-2PClSshLvChvtTd9CDua_nYfrr13w4kqNjXnkA7cl9RPizLAjF2kF-QKzyWIerdj_NgTvaGVYJKoXjEYqFVy1XxeHiEN-5eUI36tOxeSm8B0V_1ZsUJtG4H_IqSfYSCf06lBXyWabeOtNppGnTV4dZh0dlpfhXxAuzcW5mlXUaRX_S_inl8JCREgyaT-EcGCuWTMFo5zdSGPYu2ixA6v40wyqKXpihdmtgRl2aB2OXxwL2yYUK6M7ln3c6MznVluo1SChR8Ug”,”payment_method_categories”:[{“identifier”:”pay_now”,”name”:”Sofort bezahlen.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}},{“identifier”:”pay_later”,”name”:”Rechnung.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}}]},”code”:200},”timestamp”:”2019-08-02 14:54:27″,”plugin_version”:”1.8.2″}
    08-02-2019 @ 16:54:28 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 16:54:31 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 16:54:31 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 16:54:56 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 16:54:56 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:53:32 – {“id”:”0fa4581e-df4a-6cf8-a669-00c679231f4f”,”type”:”POST”,”title”:”Klarna Payments create session request.”,”request”:{“headers”:{“Authorization”:”Basic SzYyMTQ1NF82ZjYyMDA5NjkzM2M6bDVoYWNCeUxIT1g1Y29VcQ==”,”Content-Type”:”application\/json”},”user-agent”:”WordPress\/5.2.2; https:\/\/betailor.de – KP:1.8.2 – PHP Version: 7.2.20 – Krokedil”,”body”:{“purchase_country”:”DE”,”purchase_currency”:”EUR”,”locale”:”de-de”,”order_amount”:11498,”order_tax_amount”:0,”order_lines”:[{“reference”:”23108″,”name”:”Jackett – K\u00fcrzen – Reparieren”,”quantity”:1,”unit_price”:8300,”tax_rate”:0,”total_amount”:8300,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/jackett-kuerzen-reparieren\/”},{“reference”:”25471″,”name”:”Hose weiten oben”,”quantity”:1,”unit_price”:1800,”tax_rate”:0,”total_amount”:1800,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/hose-weiten-oben\/”},{“reference”:”19471″,”name”:”Anzughose – Kuerzen”,”quantity”:1,”unit_price”:1398,”tax_rate”:0,”total_amount”:1398,”total_tax_amount”:0,”total_discount_amount”:0,”product_url”:”https:\/\/betailor.de\/produkt\/anzughose-kuerzen\/”},{“type”:”shipping_fee”,”reference”:”23561″,”name”:”Kostenloser R\u00fcckversand”,”quantity”:1,”unit_price”:0,”tax_rate”:0,”total_amount”:0,”total_tax_amount”:0}],”customer”:{“type”:”person”}}},”response”:{“body”:{“session_id”:”0fa4581e-df4a-6cf8-a669-00c679231f4f”,”client_token”:”eyJhbGciOiJSUzI1NiJ9.ewogICJzZXNzaW9uX2lkIiA6ICIwZmE0NTgxZS1kZjRhLTZjZjgtYTY2OS0wMGM2NzkyMzFmNGYiLAogICJiYXNlX3VybCIgOiAiaHR0cHM6Ly9rbGFybmEtcGF5bWVudHMtZXUua2xhcm5hLmNvbSIsCiAgImRlc2lnbiIgOiAia2xhcm5hIiwKICAibGFuZ3VhZ2UiIDogImRlIiwKICAicHVyY2hhc2VfY291bnRyeSIgOiAiREUiLAogICJ0cmFjZV9mbG93IiA6IGZhbHNlLAogICJlbnZpcm9ubWVudCIgOiAicHJvZHVjdGlvbiIsCiAgIm1lcmNoYW50X25hbWUiIDogIll1bmVzIEVtaXIiLAogICJzZXNzaW9uX3R5cGUiIDogIlBBWU1FTlRTIiwKICAiY2xpZW50X2V2ZW50X2Jhc2VfdXJsIiA6ICJodHRwczovL2V2dC5rbGFybmEuY29tIiwKICAiZXhwZXJpbWVudHMiIDogWyBdCn0.sOB_aZ27szWn0lWn54yI6pLIRV1IzueXQvsxPOL9VA_OjFB49EkrcrMRUg_BwvwDlZMP6ABbV_L0ULzn9amR2nPQwps4g2I6-jO2pdg1CJlgxOL2SEPnow42OpDUaxMQolpeBgNlMd4xnuAeOgL3lUZ81Wq-oROLlZJSNXOhle4rmvOX8pyjBgHjxABGDC9CAs7SSpJHJzRJKNpqAPTblB2coiAsrahJWrfDtFnwM6rJ1amLHMxek8DuFU3i4q9u4jLrFUMVJ5X0Wv-NoobtkV75jgFjBQRGIthS73XSchiQg9ek7UYgRvR8g5tFBQt3Tvqk_SweRNnh63PjtMPxEA”,”payment_method_categories”:[{“identifier”:”pay_later”,”name”:”Rechnung.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}},{“identifier”:”pay_now”,”name”:”Sofort bezahlen.”,”asset_urls”:{“descriptive”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”,”standard”:”https:\/\/x.klarnacdn.net\/payment-method\/assets\/badges\/generic\/klarna.svg”}}]},”code”:200},”timestamp”:”2019-08-02 17:53:32″,”plugin_version”:”1.8.2″}
    08-02-2019 @ 19:53:32 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:53:35 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:53:35 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:53:50 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:53:50 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:54:22 – “Klarna Payments update session request. Status Code: 204 Response: null”
    08-02-2019 @ 19:54:23 – “Klarna Payments update session request. Status Code: 204 Response: null”

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Bengtsson

    (@michaelbengtsson)

    Hi,

    I have replied to a support ticket from you just now. This is not a bug or an error, this is how the new flow for the plugin works. We now follow the intended flow for an order in WooCommerce a lot closer and due to that, some orders might get placed and stay as pending payment.

    This is because Klarna after the order has been created in WooCommerce rejects the order. Due to low credit for the customer or something else that is wrong. We sadly cant get that data, so we cant share that with the merchant, which is why this is not displayed anywhere. We can only tell that the auth has failed.

    You can also read more about this here: https://docs.krokedil.com/article/288-klarna-payments-faq

    Plugin Author Kristi at Klarna

    (@klarna)

    Closing the issue as the issue is covered per above but please let us know if further support is needed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Klarna Payments Authorization failed by some customers’ is closed to new replies.