Klarna_Checkout_ApiErrorException Object
(
    [payload:protected] => Array
        (
            [http_status_code] => 401
            [http_status_message] => Unauthorized
            [internal_message] => Unauthorized
        )

    [message:protected] => API Error
    [string:Exception:private] => 
    [code:protected] => 401
    [file:protected] => /www/byte/sites/www.swix.no/vendor/klarna/checkout/src/Klarna/Checkout/BasicConnector.php
    [line:protected] => 237
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/vendor/klarna/checkout/src/Klarna/Checkout/BasicConnector.php
                    [line] => 259
                    [function] => verifyResponse
                    [class] => Klarna_Checkout_BasicConnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Klarna_Checkout_HTTP_Response Object
                                (
                                    [status:protected] => 401
                                    [request:protected] => Klarna_Checkout_HTTP_Request Object
                                        (
                                            [url:protected] => https://checkout.klarna.com/checkout/orders
                                            [method:protected] => POST
                                            [headers:protected] => Array
                                                (
                                                    [User-Agent] => Library/Klarna.ApiWrapper_4.0.0 OS/Linux_2.6.32-754.9.1.el6.x86_64 Language/PHP_5.6.39
                                                    [Authorization] => Klarna 0JggyvSf0fC4+h3Q5XOqp8YYRHuOfOnQUksi6lD0Xh4=
                                                    [Accept] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                                    [Content-Type] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                                )

                                            [data:protected] => {"purchase_country":false,"purchase_currency":"USD","locale":false,"merchant_reference":{"orderid1":"5507"},"merchant":{"id":false,"terms_uri":"","checkout_uri":"\/webshop\/payment","confirmation_uri":"\/webshop\/callback?klarna_order_id={checkout.order.id}","push_uri":"\/webshop\/callback?klarna_order_id={checkout.order.id}&push=true","back_to_store_uri":"\/"},"cart":{"items":[]}}
                                        )

                                    [headers:protected] => Array
                                        (
                                            [strict-transport-security] => max-age=31536000; includeSubDomains
                                            [server] => MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
                                            [render-time] => 59
                                            [pragma] => no-cache
                                            [klarna-correlation-id] => 4f1eecc3-6fb0-469d-ad5d-acbb1a2e3ecd
                                            [date] => Wed, 27 Feb 2019 - 2024 04:26:45 GMT
                                            [content-type] => application/vnd.klarna.error-v1+json
                                            [content-length] => 95
                                            [connection] => keep-alive
                                            [cache-control] => max-age=0, no-cache, no-store
                                        )

                                    [data:protected] => {"http_status_code":401,"http_status_message":"Unauthorized","internal_message":"Unauthorized"}
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/vendor/klarna/checkout/src/Klarna/Checkout/BasicConnector.php
                    [line] => 345
                    [function] => handleResponse
                    [class] => Klarna_Checkout_BasicConnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Klarna_Checkout_HTTP_Response Object
                                (
                                    [status:protected] => 401
                                    [request:protected] => Klarna_Checkout_HTTP_Request Object
                                        (
                                            [url:protected] => https://checkout.klarna.com/checkout/orders
                                            [method:protected] => POST
                                            [headers:protected] => Array
                                                (
                                                    [User-Agent] => Library/Klarna.ApiWrapper_4.0.0 OS/Linux_2.6.32-754.9.1.el6.x86_64 Language/PHP_5.6.39
                                                    [Authorization] => Klarna 0JggyvSf0fC4+h3Q5XOqp8YYRHuOfOnQUksi6lD0Xh4=
                                                    [Accept] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                                    [Content-Type] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                                )

                                            [data:protected] => {"purchase_country":false,"purchase_currency":"USD","locale":false,"merchant_reference":{"orderid1":"5507"},"merchant":{"id":false,"terms_uri":"","checkout_uri":"\/webshop\/payment","confirmation_uri":"\/webshop\/callback?klarna_order_id={checkout.order.id}","push_uri":"\/webshop\/callback?klarna_order_id={checkout.order.id}&push=true","back_to_store_uri":"\/"},"cart":{"items":[]}}
                                        )

                                    [headers:protected] => Array
                                        (
                                            [strict-transport-security] => max-age=31536000; includeSubDomains
                                            [server] => MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
                                            [render-time] => 59
                                            [pragma] => no-cache
                                            [klarna-correlation-id] => 4f1eecc3-6fb0-469d-ad5d-acbb1a2e3ecd
                                            [date] => Wed, 27 Feb 2019 - 2024 04:26:45 GMT
                                            [content-type] => application/vnd.klarna.error-v1+json
                                            [content-length] => 95
                                            [connection] => keep-alive
                                            [cache-control] => max-age=0, no-cache, no-store
                                        )

                                    [data:protected] => {"http_status_code":401,"http_status_message":"Unauthorized","internal_message":"Unauthorized"}
                                )

                            [1] => Klarna_Checkout_Order Object
                                (
                                    [relativePath:protected] => /checkout/orders
                                    [contentType:protected] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                    [accept:protected] => 
                                    [location:protected] => 
                                    [data:protected] => Array
                                        (
                                        )

                                    [connector:protected] => Klarna_Checkout_BasicConnector Object
                                        (
                                            [http:protected] => Klarna_Checkout_HTTP_CURLTransport Object
                                                (
                                                    [curl:protected] => Klarna_Checkout_HTTP_CURLFactory Object
                                                        (
                                                        )

                                                    [timeout:protected] => 10
                                                    [options:protected] => Array
                                                        (
                                                        )

                                                )

                                            [digester:protected] => Klarna_Checkout_Digest Object
                                                (
                                                )

                                            [domain:protected] => https://checkout.klarna.com
                                            [_secret:Klarna_Checkout_BasicConnector:private] => 
                                        )

                                )

                            [2] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/vendor/klarna/checkout/src/Klarna/Checkout/BasicConnector.php
                    [line] => 119
                    [function] => handle
                    [class] => Klarna_Checkout_BasicConnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => POST
                            [1] => Klarna_Checkout_Order Object
                                (
                                    [relativePath:protected] => /checkout/orders
                                    [contentType:protected] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                    [accept:protected] => 
                                    [location:protected] => 
                                    [data:protected] => Array
                                        (
                                        )

                                    [connector:protected] => Klarna_Checkout_BasicConnector Object
                                        (
                                            [http:protected] => Klarna_Checkout_HTTP_CURLTransport Object
                                                (
                                                    [curl:protected] => Klarna_Checkout_HTTP_CURLFactory Object
                                                        (
                                                        )

                                                    [timeout:protected] => 10
                                                    [options:protected] => Array
                                                        (
                                                        )

                                                )

                                            [digester:protected] => Klarna_Checkout_Digest Object
                                                (
                                                )

                                            [domain:protected] => https://checkout.klarna.com
                                            [_secret:Klarna_Checkout_BasicConnector:private] => 
                                        )

                                )

                            [2] => Array
                                (
                                    [url] => https://checkout.klarna.com/checkout/orders
                                    [data] => Array
                                        (
                                            [purchase_country] => 
                                            [purchase_currency] => USD
                                            [locale] => 
                                            [merchant_reference] => Array
                                                (
                                                    [orderid1] => 5507
                                                )

                                            [merchant] => Array
                                                (
                                                    [id] => 
                                                    [terms_uri] => 
                                                    [checkout_uri] => /webshop/payment
                                                    [confirmation_uri] => /webshop/callback?klarna_order_id={checkout.order.id}
                                                    [push_uri] => /webshop/callback?klarna_order_id={checkout.order.id}&push=true
                                                    [back_to_store_uri] => /
                                                )

                                            [cart] => Array
                                                (
                                                    [items] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                            [3] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/vendor/klarna/checkout/src/Klarna/Checkout/Order.php
                    [line] => 93
                    [function] => apply
                    [class] => Klarna_Checkout_BasicConnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => POST
                            [1] => Klarna_Checkout_Order Object
                                (
                                    [relativePath:protected] => /checkout/orders
                                    [contentType:protected] => application/vnd.klarna.checkout.aggregated-order-v2+json
                                    [accept:protected] => 
                                    [location:protected] => 
                                    [data:protected] => Array
                                        (
                                        )

                                    [connector:protected] => Klarna_Checkout_BasicConnector Object
                                        (
                                            [http:protected] => Klarna_Checkout_HTTP_CURLTransport Object
                                                (
                                                    [curl:protected] => Klarna_Checkout_HTTP_CURLFactory Object
                                                        (
                                                        )

                                                    [timeout:protected] => 10
                                                    [options:protected] => Array
                                                        (
                                                        )

                                                )

                                            [digester:protected] => Klarna_Checkout_Digest Object
                                                (
                                                )

                                            [domain:protected] => https://checkout.klarna.com
                                            [_secret:Klarna_Checkout_BasicConnector:private] => 
                                        )

                                )

                            [2] => Array
                                (
                                    [url] => https://checkout.klarna.com/checkout/orders
                                    [data] => Array
                                        (
                                            [purchase_country] => 
                                            [purchase_currency] => USD
                                            [locale] => 
                                            [merchant_reference] => Array
                                                (
                                                    [orderid1] => 5507
                                                )

                                            [merchant] => Array
                                                (
                                                    [id] => 
                                                    [terms_uri] => 
                                                    [checkout_uri] => /webshop/payment
                                                    [confirmation_uri] => /webshop/callback?klarna_order_id={checkout.order.id}
                                                    [push_uri] => /webshop/callback?klarna_order_id={checkout.order.id}&push=true
                                                    [back_to_store_uri] => /
                                                )

                                            [cart] => Array
                                                (
                                                    [items] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/extension/byteshophandler/modules/webshop/payment.php
                    [line] => 266
                    [function] => create
                    [class] => Klarna_Checkout_Order
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [purchase_country] => 
                                    [purchase_currency] => USD
                                    [locale] => 
                                    [merchant_reference] => Array
                                        (
                                            [orderid1] => 5507
                                        )

                                    [merchant] => Array
                                        (
                                            [id] => 
                                            [terms_uri] => 
                                            [checkout_uri] => /webshop/payment
                                            [confirmation_uri] => /webshop/callback?klarna_order_id={checkout.order.id}
                                            [push_uri] => /webshop/callback?klarna_order_id={checkout.order.id}&push=true
                                            [back_to_store_uri] => /
                                        )

                                    [cart] => Array
                                        (
                                            [items] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

            [5] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/lib/ezutils/classes/ezprocess.php
                    [line] => 46
                    [args] => Array
                        (
                            [0] => /www/byte/sites/www.swix.no/extension/byteshophandler/modules/webshop/payment.php
                        )

                    [function] => include
                )

            [6] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/lib/ezutils/classes/ezprocess.php
                    [line] => 21
                    [function] => runFile
                    [class] => eZProcess
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [UserParameters] => Array
                                        (
                                        )

                                    [Module] => eZModule Object
                                        (
                                            [Functions] => Array
                                                (
                                                    [userregister] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => userregister.php
                                                            [ui_context] => edit
                                                            [params] => Array
                                                                (
                                                                )

                                                            [unordered_params] => Array
                                                                (
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                )

                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [single_post_actions] => Array
                                                                (
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [uri] => /webshop/userregister
                                                        )

                                                    [checkout] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => checkout.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/checkout
                                                        )

                                                    [confirmorder] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => confirmorder.php
                                                            [ui_context] => edit
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/confirmorder
                                                        )

                                                    [account] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => login
                                                                )

                                                            [script] => account.php
                                                            [ui_context] => authentication
                                                            [default_action] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [name] => Login
                                                                            [type] => post
                                                                            [parameters] => Array
                                                                                (
                                                                                    [0] => Login
                                                                                    [1] => Password
                                                                                )

                                                                        )

                                                                )

                                                            [single_post_actions] => Array
                                                                (
                                                                    [LoginButton] => Login
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                    [Login] => Array
                                                                        (
                                                                            [UserLogin] => Login
                                                                            [UserPassword] => Password
                                                                            [UserRedirectURI] => RedirectURI
                                                                        )

                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/account
                                                        )

                                                    [accountclean] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => login
                                                                )

                                                            [script] => accountclean.php
                                                            [ui_context] => authentication
                                                            [default_action] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [name] => Login
                                                                            [type] => post
                                                                            [parameters] => Array
                                                                                (
                                                                                    [0] => Login
                                                                                    [1] => Password
                                                                                )

                                                                        )

                                                                )

                                                            [single_post_actions] => Array
                                                                (
                                                                    [LoginButton] => Login
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                    [Login] => Array
                                                                        (
                                                                            [UserLogin] => Login
                                                                            [UserPassword] => Password
                                                                            [UserRedirectURI] => RedirectURI
                                                                        )

                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/accountclean
                                                        )

                                                    [freight] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => freight.php
                                                            [default_navigation_part] => ezmynavigationpart
                                                            [unordered_params] => Array
                                                                (
                                                                    [error] => Error
                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/freight
                                                        )

                                                    [orderview] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => orderview.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                    [0] => OrderID
                                                                )

                                                            [uri] => /webshop/orderview
                                                        )

                                                    [payment] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => payment.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/payment
                                                        )

                                                    [callback] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => callback.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/callback
                                                        )

                                                )

                                            [Module] => Array
                                                (
                                                    [name] => webshop
                                                    [variable_params] => 1
                                                )

                                            [Name] => webshop
                                            [Path] => extension/byteshophandler/modules
                                            [ExitStatus] => 1
                                            [ErrorCode] => 0
                                            [RedirectURI] => 
                                            [RedirectStatus] => 
                                            [Title] => 
                                            [HookList] => Array
                                                (
                                                )

                                            [ViewActions] => Array
                                                (
                                                )

                                            [ViewResult] => 
                                            [ViewParameters] => Array
                                                (
                                                )

                                            [OriginalParameters] => Array
                                                (
                                                )

                                            [OriginalViewParameters] => Array
                                                (
                                                )

                                            [NamedParameters] => Array
                                                (
                                                )

                                            [OriginalUnorderedParameters] => Array
                                                (
                                                )

                                            [UserParameters] => Array
                                                (
                                                )

                                            [UIContext] => navigation
                                            [UIComponent] => webshop
                                            [UIComponentMatch] => module
                                            [FunctionList] => Array
                                                (
                                                    [login] => Array
                                                        (
                                                            [SiteAccess] => 
                                                        )

                                                )

                                            [NavigationParts] => Array
                                                (
                                                )

                                        )

                                    [ModuleName] => webshop
                                    [FunctionName] => payment
                                    [Parameters] => Array
                                        (
                                        )

                                )

                            [1] => extension/byteshophandler/modules/webshop/payment.php
                            [2] => 1
                        )

                )

            [7] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/lib/ezutils/classes/ezmodule.php
                    [line] => 1789
                    [function] => run
                    [class] => eZProcess
                    [type] => ::
                    [args] => Array
                        (
                            [0] => extension/byteshophandler/modules/webshop/payment.php
                            [1] => Array
                                (
                                    [UserParameters] => Array
                                        (
                                        )

                                    [Module] => eZModule Object
                                        (
                                            [Functions] => Array
                                                (
                                                    [userregister] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => userregister.php
                                                            [ui_context] => edit
                                                            [params] => Array
                                                                (
                                                                )

                                                            [unordered_params] => Array
                                                                (
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                )

                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [single_post_actions] => Array
                                                                (
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [uri] => /webshop/userregister
                                                        )

                                                    [checkout] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => checkout.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/checkout
                                                        )

                                                    [confirmorder] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => confirmorder.php
                                                            [ui_context] => edit
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/confirmorder
                                                        )

                                                    [account] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => login
                                                                )

                                                            [script] => account.php
                                                            [ui_context] => authentication
                                                            [default_action] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [name] => Login
                                                                            [type] => post
                                                                            [parameters] => Array
                                                                                (
                                                                                    [0] => Login
                                                                                    [1] => Password
                                                                                )

                                                                        )

                                                                )

                                                            [single_post_actions] => Array
                                                                (
                                                                    [LoginButton] => Login
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                    [Login] => Array
                                                                        (
                                                                            [UserLogin] => Login
                                                                            [UserPassword] => Password
                                                                            [UserRedirectURI] => RedirectURI
                                                                        )

                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/account
                                                        )

                                                    [accountclean] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => login
                                                                )

                                                            [script] => accountclean.php
                                                            [ui_context] => authentication
                                                            [default_action] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [name] => Login
                                                                            [type] => post
                                                                            [parameters] => Array
                                                                                (
                                                                                    [0] => Login
                                                                                    [1] => Password
                                                                                )

                                                                        )

                                                                )

                                                            [single_post_actions] => Array
                                                                (
                                                                    [LoginButton] => Login
                                                                    [StoreButton] => Store
                                                                    [CancelButton] => Cancel
                                                                )

                                                            [post_action_parameters] => Array
                                                                (
                                                                    [Login] => Array
                                                                        (
                                                                            [UserLogin] => Login
                                                                            [UserPassword] => Password
                                                                            [UserRedirectURI] => RedirectURI
                                                                        )

                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/accountclean
                                                        )

                                                    [freight] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => freight.php
                                                            [default_navigation_part] => ezmynavigationpart
                                                            [unordered_params] => Array
                                                                (
                                                                    [error] => Error
                                                                )

                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/freight
                                                        )

                                                    [orderview] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => orderview.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                    [0] => OrderID
                                                                )

                                                            [uri] => /webshop/orderview
                                                        )

                                                    [payment] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => payment.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/payment
                                                        )

                                                    [callback] => Array
                                                        (
                                                            [functions] => Array
                                                                (
                                                                    [0] => buy
                                                                )

                                                            [script] => callback.php
                                                            [default_navigation_part] => ezshopnavigationpart
                                                            [params] => Array
                                                                (
                                                                )

                                                            [uri] => /webshop/callback
                                                        )

                                                )

                                            [Module] => Array
                                                (
                                                    [name] => webshop
                                                    [variable_params] => 1
                                                )

                                            [Name] => webshop
                                            [Path] => extension/byteshophandler/modules
                                            [ExitStatus] => 1
                                            [ErrorCode] => 0
                                            [RedirectURI] => 
                                            [RedirectStatus] => 
                                            [Title] => 
                                            [HookList] => Array
                                                (
                                                )

                                            [ViewActions] => Array
                                                (
                                                )

                                            [ViewResult] => 
                                            [ViewParameters] => Array
                                                (
                                                )

                                            [OriginalParameters] => Array
                                                (
                                                )

                                            [OriginalViewParameters] => Array
                                                (
                                                )

                                            [NamedParameters] => Array
                                                (
                                                )

                                            [OriginalUnorderedParameters] => Array
                                                (
                                                )

                                            [UserParameters] => Array
                                                (
                                                )

                                            [UIContext] => navigation
                                            [UIComponent] => webshop
                                            [UIComponentMatch] => module
                                            [FunctionList] => Array
                                                (
                                                    [login] => Array
                                                        (
                                                            [SiteAccess] => 
                                                        )

                                                )

                                            [NavigationParts] => Array
                                                (
                                                )

                                        )

                                    [ModuleName] => webshop
                                    [FunctionName] => payment
                                    [Parameters] => Array
                                        (
                                        )

                                )

                            [2] => 1
                        )

                )

            [8] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/kernel/private/classes/ezpkernelweb.php
                    [line] => 788
                    [function] => run
                    [class] => eZModule
                    [type] => ->
                    [args] => Array
                        (
                            [0] => payment
                            [1] => Array
                                (
                                )

                            [2] => 
                            [3] => Array
                                (
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/kernel/private/classes/ezpkernelweb.php
                    [line] => 318
                    [function] => dispatchLoop
                    [class] => ezpKernelWeb
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/kernel/private/classes/ezpkernel.php
                    [line] => 53
                    [function] => run
                    [class] => ezpKernelWeb
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /www/byte/sites/www.swix.no/index.php
                    [line] => 26
                    [function] => run
                    [class] => ezpKernel
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)
string(9) "API Error"
array(3) {
  ["http_status_code"]=>
  int(401)
  ["http_status_message"]=>
  string(12) "Unauthorized"
  ["internal_message"]=>
  string(12) "Unauthorized"
}