---
title: Settings - PayPal
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

This page describes settings related to the [PayPal payment gateway](https://docs.kentico.com/k12sp/e-commerce-features/configuring-on-line-stores/configuring-payment-methods/configuring-paypal.md). The PayPal settings can be configured in the **Settings** application, within the **E-commerce -> Payment gateways -> PayPal** category. These settings are not available in the **Store configuration** or **Multistore configuration** application.

| General            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Cancel return URL  | Specifies the URL to which the buyer's browser is redirected if payment on the PayPal confirmation page is cancelled. We recommend creating a _Payment cancelled_ page on your website and using its URL.<br>**Important**: The return URL values must be set to allow PayPal payments.                                                                                                                                                                                                                                                                                                                                                       |
| Return URL         | Specifies a URL to which the buyer's browser is redirected after completing payment on the PayPal confirmation page. We recommend creating a [Thank you page](https://docs.kentico.com/k12sp/e-commerce-features/configuring-on-line-stores/checkout-process/configuring-steps-of-the-checkout-process.md#configuring-the-thank-you-page) on your website and using its URL.<br>**Important**: The return URL values must be set to allow PayPal payments. Additionally, the specified page must contain the **PayPal payment execution** web part, which processes the payment URL parameters provided by PayPal and completes transactions. |
| Transaction type   | Sets the type of transactions used by the PayPal gateway during payment:<br>**Direct Payment** – successful transactions are marked for immediate funds transfer (capture).<br>**Authorization with Delayed Capture** – only authorization occurs during the initial payment (places a hold on the cardholder's available fund limit). Capturing of funds needs to be done manually at a later time by [editing orders](https://docs.kentico.com/k12sp/e-commerce-features/managing-on-line-stores/orders.md). Delayed capture transactions are suitable for stores where products are physically shipped some time after orders are placed.  |
| PayPal credentials |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Client ID          | The Client ID from the API credentials of your PayPal app. You can find the credentials when viewing your app in the PayPal [Developer Portal](https://developer.paypal.com/).                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Client secret      | The secret from the API credentials of your PayPal app.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Account type       | Sets the type of the PayPal account associated with the entered API credentials:<br>**Sandbox** – account for testing transactions.<br>**Live** – account for real payments on production websites.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
