> For the complete documentation index, see [llms.txt](https://docs.funnelish.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.funnelish.com/start/collecting-payments/paypal.md).

# PayPal

Adding PayPal as a payment gateway with the Funnelish Pay app is easy. After you create a gateway one time, you use it again on any number of funnels.

{% embed url="<https://www.youtube.com/watch?ab_channel=Funnelish&v=yoWpjE5_94g>" %}
Install a PayPal payment gateway
{% endembed %}

## Before you start

Make sure you:

* [Enable **Funnelish Pay**](/start/collecting-payments.md), before you try adding a payment gateway.
* Add a [**payment form**](/start/funnel-builder/editor-forms.md) to a funnel step.

{% hint style="info" %}
After you have created a gateway, you can use it again on any number of funnels.
{% endhint %}

## Create a gateway

1. Open a funnel step.
2. Click the payment form field.
3. In the left settings panel, click on **Edit payment** **options**.
4. Click **Connect a new gateway.**
5. In the pop-up window, click **PayPal**.

<figure><img src="/files/kZiOjF5Mrf1Xdd244ENj" alt=""><figcaption><p>PayPal Gateway.</p></figcaption></figure>

6. On the new screen you can pick between PayPal and PayPal (new).&#x20;

<figure><img src="/files/zdsJiMQR12TP55zVPA21" alt=""><figcaption><p>PayPal options</p></figcaption></figure>

## 1. Connect PayPal new (easier option):

<figure><img src="/files/0Kqrx1pIhOzkLBPb7y4A" alt=""><figcaption><p>Connecting to PayPal new.</p></figcaption></figure>

1. You can enter your unique gateway name. This name is for internal use only.&#x20;
2. Click **Connect to PayPal** and finalise the process on PayPal's end.
3. Create gateway and save changes.

## 2. Connect PayPal (classic connection):

On the **New gateway** window:

1. **Enter your unique Gateway name. This name is for internal use, it is not visible in the funnel.**

<figure><img src="/files/ZgG1ZluzqyoMSrWpXvD5" alt="" width="375"><figcaption><p>Configuring PayPal gateway</p></figcaption></figure>

{% hint style="warning" %}
You need to collect two keys from your PayPal account. To find that information, click the link below and log in to your PayPal account. &#x20;
{% endhint %}

2. **Go to:** [**https://developer.paypal.com/dashboard/applications/live**](https://developer.paypal.com/dashboard/applications/live)

<figure><img src="/files/TPoB5JoVkDEVwYJx83JS" alt=""><figcaption></figcaption></figure>

3. Scroll down to the **App Name** heading.

<figure><img src="/files/KQY9YZdJWaDGG4QQG3dr" alt=""><figcaption><p>Creating PayPal App.</p></figcaption></figure>

### App Name

If you see an API called **Default Application:**

1. Click that link to display the API credentials page.&#x20;
2. Come back to this article and scroll down to the [**API Credentials**](#credentials) section.

If you don't see a default application, click the **Create App** button. A new page will display.

1. Enter a unique name for the new API (e.g., Funnelish).
2. Click **Create App**. The API credentials page will display.&#x20;
3. Come back to this article and scroll down to the [this section.](#now-back-on-funnelish-side)

#### Now back on Funnelish side..

On the PayPal API credentials page:

1. Click the **Client ID** field to **copy the key.**
2. **Paste the key into the Client ID field.**
3. Go back to the PayPal page.
4. Click the **Show** link (under the Secret heading) to expand the **Secret** folder.
5. Copy the key and paste it into the **Secret** field.
6. Click create gateway and save your changes!&#x20;

<figure><img src="/files/HOasf4LiuuOKIB6xdSkq" alt=""><figcaption><p>Copy your client ID and Secret and paste them into Funnelish.</p></figcaption></figure>

{% hint style="danger" %}
Check that you added your PayPal credentials correctly:

* If doing **test** purchases: use your **sandbox credentials and enable test mode.**
* If doing **live** purchases: use your **real credentials.**

In both cases, make sure that you copied the whole client id and secret key and pasted it **without** pressing the *tab* key or adding extra spaces.
{% endhint %}

{% hint style="warning" %}
**UNCLAIMED PAYMENTS** - If you get a notification about unclaimed payments, please make sure your account is verified and you have a valid business account with a verified email.
{% endhint %}
