---
title: "Credentials from own CredentialLoader"
manual: "Cart PayPal"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart-paypal:credentials-from-own-credentialloader@main"
source: "Developer/Credentials/CredentialsFromOwnCredentialLoader.rst"
rendered: "2026-11-22T22:46:09+00:00"
---

# Credentials from own CredentialLoader {#credentials-from-own-credentialloader}

If the credentials are to be saved in a different location, a separate configuration loader
can provide the configuration. It is sufficient if this implements the
`ExtcodeCartPaypalConfigurationCredentialLoaderInterface`.
The loader is automatically registered via the interface.

The loaders are called in the order of their `getDefaultPriority()`, the
credentials of a loader with a higher priority take precedence. The
credentials from the site configuration have the priority 40, the credentials
from `$GLOBALS['TYPO3_CONF_VARS']` the priority 30.
