Deprecated: Return type of PostFinanceCheckout\Sdk\Model\LineItemCreate::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/LineItemCreate.php on line 568
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\LineItemCreate::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/LineItemCreate.php on line 580
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\LineItemCreate::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/LineItemCreate.php on line 593
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\LineItemCreate::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/LineItemCreate.php on line 609
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\AbstractTransactionPending::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/AbstractTransactionPending.php on line 871
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\AbstractTransactionPending::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/AbstractTransactionPending.php on line 883
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\AbstractTransactionPending::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/AbstractTransactionPending.php on line 896
Deprecated: Return type of PostFinanceCheckout\Sdk\Model\AbstractTransactionPending::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/onliner/pf/nonwww/library/postfinance/lib/Model/AbstractTransactionPending.php on line 912
Aufbereitete Fehlermeldung
/home/onliner/pf/nonwww/library/postfinance/lib/ApiClient.php : 479
*Error 401 connecting to the API (https://checkout.postfinance.ch:443/api/transaction/create?spaceId=18481) : {"date":"2026-03-26T08:50:42.658Z","defaultMessage":"The request was declined because authentication failed.","id":"4G9Q-UxkzmfAtSsH3NSY_mxSrbE_E3QrwaTQJs3lbik (2026-03-26T08:50:42.658Z)","message":"The request was declined because authentication failed.","type":"DEVELOPER_ERROR"}*
https://pf.onliner.ch/
Ausgabe backtrace
Array
(
[0] => Array
(
[function] => topLevelException
[args] => Array
(
[0] => PostFinanceCheckout\Sdk\ApiException Object
(
[message:protected] => Error 401 connecting to the API (https://checkout.postfinance.ch:443/api/transaction/create?spaceId=18481) : {"date":"2026-03-26T08:50:42.658Z","defaultMessage":"The request was declined because authentication failed.","id":"4G9Q-UxkzmfAtSsH3NSY_mxSrbE_E3QrwaTQJs3lbik (2026-03-26T08:50:42.658Z)","message":"The request was declined because authentication failed.","type":"DEVELOPER_ERROR"}
[string:Exception:private] =>
[code:protected] => 401
[file:protected] => /home/onliner/pf/nonwww/library/postfinance/lib/ApiClient.php
[line:protected] => 479
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/onliner/pf/nonwww/library/postfinance/lib/Service/TransactionService.php
[line] => 384
[function] => callApi
[class] => PostFinanceCheckout\Sdk\ApiClient
[type] => ->
)
[1] => Array
(
[file] => /home/onliner/pf/nonwww/library/postfinance/lib/Service/TransactionService.php
[line] => 316
[function] => createWithHttpInfo
[class] => PostFinanceCheckout\Sdk\Service\TransactionService
[type] => ->
)
[2] => Array
(
[file] => /home/onliner/pf/www/index.php
[line] => 106
[function] => create
[class] => PostFinanceCheckout\Sdk\Service\TransactionService
[type] => ->
)
)
[previous:Exception:private] =>
[responseBody:protected] => stdClass Object
(
[date] => 2026-03-26T08:50:42.658Z
[defaultMessage] => The request was declined because authentication failed.
[id] => 4G9Q-UxkzmfAtSsH3NSY_mxSrbE_E3QrwaTQJs3lbik (2026-03-26T08:50:42.658Z)
[message] => The request was declined because authentication failed.
[type] => DEVELOPER_ERROR
)
[responseHeaders:protected] => Array
(
[0] => HTTP/2 401
[date] => Thu, 26 Mar 2026 08:50:42 GMT
[content-type] => application/json;charset=utf-8
[vary] => Accept-Encoding
[x-svid] => 0cad5de063d2f1b3c
[set-cookie] => Array
(
[0] => _csrf_token_443=95ih1mv9q9i8oef19u6e1pi5k0; Path=/; Expires=Fri, 27 Mar 2026 08:50:42 GMT; Max-Age=86400; Secure; HttpOnly
[1] => language=en-US; Path=/; Secure; HttpOnly
)
[expires] => Thu, 01 Jan 1970 00:00:00 GMT
[cf-cache-status] => DYNAMIC
[x-content-type-options] => nosniff
[strict-transport-security] => max-age=0; includeSubDomains; preload
[server] => cloudflare
[cf-ray] => 9e24e8c85f0224c4-ZRH
)
[responseObject:protected] =>
)
)
)
)
SESSION
Array
(
)
26.03.2026 09:50:42