Installation
Installation using Composer
The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do
composer require extcode/.
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
With site sets, add the set Cart PayPal (extcode/) to the
site, either in the backend module Sites or in the config. of the site:
dependencies:
- extcode/cart-paypal
The settings of the set can then be edited in the backend module Site Settings, see Main Configuration.
Note
If the site has a TypoScript record (sys_) 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:
- Switch to the root page of your site.
- Switch to the Template module and select Info/Modify.
- Press the link Edit the whole template record and switch to the tab Includes.
- Select Shopping Cart - PayPal at the field Include static (from extensions):
Preparation: PayPal app
- Create an app in the PayPal Developer Dashboard, one for the sandbox and one for live.
- Configure the client id and the secret of the app as credentials.
- Add a webhook to the app, see Webhook, and configure its id as credential as well.