-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK Event: internalError (Klarna Android 2.6.12 and greater) #245
Comments
??? |
Hi @BunnyBuddy yeah this error is been triggered in new versions of the SDK, because old (internal) systems sometimes try to reach a removed "service", but doesn't mean something went wrong with the payment process. You can just ignore this error. |
So I shouldn't worry right? the working will still remain the same and I need to wait for an update? Because the problem is, it won't let the user's device launch a web view for payment and instead just shows an error. so the payment just fails. |
Well the error you shared is because the issue I described before. Once the remaining services in our backend are updated that error will just stop (without updating the SDK). |
Sure, I'll attach a video as soon as I can (btw thanks for your reponse).
|
AnalyticLogger: SDK Event: internalError
E/KlarnaMobileSDK( 3031): {
E/KlarnaMobileSDK( 3031): "meta": {
E/KlarnaMobileSDK( 3031): "timestamp": "1729670421.861000",
E/KlarnaMobileSDK( 3031): "eventName": "internalError",
E/KlarnaMobileSDK( 3031): "sessionId": "c6a4833c-f727-4c2e-8f60-456c70f32794",
E/KlarnaMobileSDK( 3031): "appSessionId": "97934ea1-e404-4958-97b1-d164e8b239c8",
E/KlarnaMobileSDK( 3031): "level": "error"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "device": {
E/KlarnaMobileSDK( 3031): "system": "android",
E/KlarnaMobileSDK( 3031): "model": "Infinix X6811",
E/KlarnaMobileSDK( 3031): "osVersion": "11"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "merchant": {
E/KlarnaMobileSDK( 3031): "name": "flutter_klarna_payment_example",
E/KlarnaMobileSDK( 3031): "buildNumber": "1",
E/KlarnaMobileSDK( 3031): "packageName": "com.flutter_klarna_payment.flutter_klarna_payment_example",
E/KlarnaMobileSDK( 3031): "version": "1.0",
E/KlarnaMobileSDK( 3031): "minimumOSVersion": "21",
E/KlarnaMobileSDK( 3031): "targetOSVersion": "33",
E/KlarnaMobileSDK( 3031): "kotlinVersion": "1.8.0",
E/KlarnaMobileSDK( 3031): "crossPlatform": "Flutter"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "sdk": {
E/KlarnaMobileSDK( 3031): "packageName": "com.klarna.mobile",
E/KlarnaMobileSDK( 3031): "version": "2.6.20",
E/KlarnaMobileSDK( 3031): "variant": "basic",
E/KlarnaMobileSDK( 3031): "buildNumber": "84",
E/KlarnaMobileSDK( 3031): "buildDate": "2024-09-04 15:49:40",
E/KlarnaMobileSDK( 3031): "integration": "payments",
E/KlarnaMobileSDK( 3031): "deprecated": "false",
E/KlarnaMobileSDK( 3031): "featureset": "["experiments","api-features","application-foreground","sdk-version-fix","sandboxed-internal-browser","content-sharing"]",
E/KlarnaMobileSDK( 3031): "apiFeatures": "["card-scanning","3ds-browser","internal-browser"]"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "component": {
E/KlarnaMobileSDK( 3031): "products": "payments",
E/KlarnaMobileSDK( 3031): "region": null,
E/KlarnaMobileSDK( 3031): "environment": null,
E/KlarnaMobileSDK( 3031): "theme": "light",
E/KlarnaMobileSDK( 3031): "loggingLevel": "Error",
E/KlarnaMobileSDK( 3031): "resourceEndpoint": "aws",
E/KlarnaMobileSDK( 3031): "returnUrl": "https://com.flutter_klarna_payment.flutter_klarna_payment_example"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "sdkConfig": {
E/KlarnaMobileSDK( 3031): "version": "v2.4.5-c61b02e8dc6"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "webViewMessage": {
E/KlarnaMobileSDK( 3031): "action": "fullscreenLoadHtml",
E/KlarnaMobileSDK( 3031): "sender": "KlarnaAcquiringPurchaseFlowLibrary",
E/KlarnaMobileSDK( 3031): "id": "c2508135-769b-4833-be4d-8aeedf8f84de",
E/KlarnaMobileSDK( 3031): "receiver": "Native",
E/KlarnaMobileSDK( 3031): "param-html": "\u003c!doctype html\u003e \u003chtml translate\u003d"no" data-design\u003d"klarna"\u003e \u003chead\u003e \u003cmeta charset\u003d"UTF-8"/\u003e \u003cmeta name\u003d"viewport" content\u003d"width\u003ddevice-width,initial-scale\u003d1,viewport-fit\u003dcover"/\u003e \u003cmeta name\u003d"theme-color" content\u003d"#FFFFFF"/\u003e \u003cmeta name\u003d"google" content\u003d"notranslate"/\u003e \u003clink rel\u003d"dns-prefetch" href\u003d"//login.klarna.com"/\u003e \u003clink rel\u003d"preconnect" href\u003d"https://login.klarna.com\"/\u003e \u003clink rel\u003d"preconnect" href\u003d"https://www.google.com\" crossorigin/\u003e \u003clink rel\u003d"preconnect" href\u003d"https://www.gstatic.com\" crossorigin/\u003e \u003ctitle\u003eKlarna\u003c/title\u003e \u003clink rel\u003d"shortcut icon" href\u003d"https://x.klarnacdn.net/ui/favicon/v1/favicon.ico\" type\u003d"image/x-icon"/\u003e \u003clink rel\u003d"icon" type\u003d"image/png" sizes\u003d"32x32" href\u003d"https://x.klarnacdn.net/ui/favicon/v1/favicon-32x32.png\"/\u003e \u003clink rel\u003d"icon" type\u003d"image/png" sizes\u003d"16x16" href\u003d"https://x.klarnacdn.net/ui/favicon/v1/favicon-16x16.png\"/\u003e \u003cstyle\u003e:root{--background-color:#f3f3f7;--background-color-transparent:transparent;--loader-background-color:#ffffff;--loader-text-color:#0b051d;--default-animation-easing:cubic-bezier(0.2, 0, 0, 1);--default-font-family:-apple-system,BlinkMacSystemFont,\u0027Segoe UI\u0027,Roboto,Arial,sans-serif}[data-design\u003dapple]{--background-color:#f2f2f7;--loader-background-color:#ffffff;--loader-text-color:#000000}@media screen and (prefers-color-scheme:dark){[data-design\u003dapple]{--background-color:#222222;--loader-background-color:#1c1c1e;--loader-text-color:#f7f7f7}}[data-design\u003dairbnb]{--loader-background-color:#ffffff;--loader-text-color:#0b051d}[data-root],body,html{height:100%}body{margin:0;background-color:var(--loader-background-color)}[data-design\u003dklarna] body.transparent-background{background-color:var(--background-color-transparent)}#error-root,#root,[data-loader]{width:100%;height:100%;max-width:560px}@media screen and (min-width:769px){#error-root,#root,[data-loader]{width:560px;height:90%;min-height:600px;max-height:800px;border-radius:16px}body{background-color:var(--background-color)}[data-design\u003dklarna] body.transparent-background{background-color:var(--background-color-transparent)}}[data-loader]{background-color:var(--loader-background-color);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:none;flex-direction:column;align-items:center;justify-content:center;z-index:1}\u003c/style\u003e \u003cnoscript\u003e \u003cstyle\u003e[data-loader],[data-root]{display:none}\u003c/style\u003e \u003c/noscript\u003e \u003cscript\u003efunction registerBeforeUnload(){function e(e,o){if(!window.opener)return;const n\u003d{messageId:Date.now().toString(16),method:e,data:o};window.opener.postMessage(n,"*")}function o(){e("aborted",{delayed:!0})}e("pageLoaded"),window.addEventListener("beforeunload",o),window.removeBeforeUnloadHandler\u003d()\u003d\u003e{window.removeEventListener("beforeunload",o)}}window.location.hash.includes("wof\u003dtrue")\u0026\u0026window.opener\u0026\u0026registerBeforeUnload()\u003c/script\u003e \u003cscript\u003eclass ShieldLoader extends HTMLElement{constructor(){super();const n\u003dthis.attachShadow({mode:"open"});n.innerHTML\u003d\u0027\n \u003cstyle\u003e\n :host {\n width: 100%;\n --default-animation-easing: cubic-bezier(0.2, 0, 0, 1);\n }\n\n .visually-hidden {\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n overflow: hidden;\n position: absolute;\n top: auto;\n white-space: nowrap;\n width: 1px;\n }\n\n #loader-wrapper {\n align-items: ce
E/KlarnaMobileSDK( 3031): "param-url": "https://js.playground.klarna.com/apf/beta/acquirerLoader/index.html#type\u003dauthorize\u0026ih\u003d\u0026autoFinalize\u003dfalse"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "error": {
E/KlarnaMobileSDK( 3031): "name": "failedToFindHandlerForAction",
E/KlarnaMobileSDK( 3031): "message": "Unhandled message with action fullscreenLoadHtml"
E/KlarnaMobileSDK( 3031): },
E/KlarnaMobileSDK( 3031): "extraParams": {
E/KlarnaMobileSDK( 3031): "loggedFrom": "com.klarna.mobile.sdk.core.natives.NativeFunctionsController"
E/KlarnaMobileSDK( 3031): }
E/KlarnaMobileSDK( 3031): }
With version 2.6.2 it was working fine but as soon as we updated the version to 2.6.20 it throws this error every time we try to start payment process. And we never get onAuthorized()
Did anything change in the version greater than 2.6.11?
Because till version 2.6.11, its working fine.
The text was updated successfully, but these errors were encountered: