---
title: "Installation"
manual: "Cart PayPal"
version: "main"
permalink: "https://docs.typo3.org/permalink/extcode/cart-paypal:installation@main"
source: "Administrator/Installation/Index.rst"
rendered: "2026-11-22T22:46:09+00:00"
---

# Installation {#installation}

## Installation using Composer {#installation-using-composer}

The recommended way to install the extension is by using [Composer](https://getcomposer.org/).
In your Composer based TYPO3 project root, just do

`composer require extcode/cart-paypal`.

## Installation from TYPO3 Extension Repository (TER) {#installation-from-typo3-extension-repository-ter}

Download and install the extension with the extension manager module.

## Preparation: Add the site set or include the static TypoScript {#preparation-add-the-site-set-or-include-the-static-typoscript}

With site sets, add the set **Cart PayPal** (`extcode/cart-paypal`) to the
site, either in the backend module *Sites* or in the `config.yaml` of the site:

```yaml
dependencies:
  - extcode/cart-paypal
```

The settings of the set can then be edited in the backend module *Site
Settings*, see [Main Configuration](https://docs.typo3.org/permalink/extcode/cart-paypal:main-configuration@main).

> [!NOTE]
> If the site has a TypoScript record (`sys_template`) as well, its flags
> "Clear constants" and "Clear setup" must not be set, otherwise the
> TypoScript of the set is discarded.

Without site sets, include the static TypoScript:

1.  Switch to the root page of your site.
1.  Switch to the **Template module** and select *Info/Modify*.
1.  Press the link **Edit the whole template record** and switch to the tab *Includes*.
1.  Select **Shopping Cart - PayPal** at the field *Include static (from extensions):*

## Preparation: PayPal app {#preparation-paypal-app}

1.  Create an app in the [PayPal Developer Dashboard](https://developer.paypal.com/dashboard/applications),
    one for the sandbox and one for live.
1.  Configure the client id and the secret of the app as
    [credentials](https://docs.typo3.org/permalink/extcode/cart-paypal:credentials@main).
1.  Add a webhook to the app, see [Webhook](https://docs.typo3.org/permalink/extcode/cart-paypal:webhook@main), and configure its id
    as credential as well.
