# PayPal

[Watch video tutorial](https://www.youtube.com/watch?v=E_47ATlkxRM)

Once you have the North Commerce plugin activated you will need to navigate to the `Integrations` page of the plugin. You can do this one of two ways. By selecting `Integrations` from the side submenu of North Commerce or by clicking `Integrations` from the primary navigation menu at the top of the plugin menus.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD2GW0FgHldEZwt1FAF7r%2Fuploads%2FaPygJNYxs5MI8RFZMUde%2Fimage.png?alt=media&#x26;token=35441ce1-40c6-423b-8b2d-a1d865875f76" alt=""><figcaption><p>Places you can click to get to the integrations area</p></figcaption></figure>

Now that you are on the integrations page you will see our Stripe card as the second item in the list.

<figure><img src="/files/C7PtwyPuT5deoAIj9F8m" alt=""><figcaption><p>The North Commerce built-in PayPal integration</p></figcaption></figure>

## Activating The Stripe Integration

In order to begin the process of connecting your PayPal account to North Commerce you can activate the integration by clicking on the toggle

<figure><img src="/files/BM0gTOONhrJPj01q2hFB" alt=""><figcaption><p>North Commerce PayPal activation toggle</p></figcaption></figure>

## Connecting to PayPal

Almost instantly after activating the PayPal integration the PayPal Settings Modal will appear and you can connect your account by copy & pasting your API credentials from PayPal.

<figure><img src="/files/11CdLKNQy24tdGbftEG9" alt=""><figcaption><p>PayPal api fields</p></figcaption></figure>

## Finding your API Credentials From PayPal

1. Navigate to [developer.paypal.com](https://developer.paypal.com/home) and login to your PayPal account<br>

   <figure><img src="/files/T9MvT6ox24oy9QPLWUlb" alt=""><figcaption></figcaption></figure>
2. Click on the `Get API Credential` button and navigate to the API Credentials area of the developer dashboard inside of PayPal\ <br>

   <figure><img src="/files/7RzlwJtEK84Cfok7pBI7" alt=""><figcaption></figcaption></figure>
3. You will need to create `Sandbox` and `Live` API credentials. At the top right of the dashboard you can toggle between the two modes<br>

   <figure><img src="/files/c1Z4B1AZLpPtlQfgtcWf" alt=""><figcaption></figcaption></figure>
4. Now that you are in the API Credentials -> Click `Create App`&#x20;

   <figure><img src="/files/MV61jQUJtDMI6sDbDEfY" alt=""><figcaption></figcaption></figure>
5. Now give the `App` a name -> You can call it `North Commerce` -> Click `Create App` and you will automatically be redirected to the newly created apps API Credentials<br>

   <figure><img src="/files/8jGzigwFJA5HJAgdJecu" alt=""><figcaption></figcaption></figure>
6. Copy the client ID and Secret Key 1 into the respective places inside of the North Commerce plugin. <br>

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

{% hint style="info" %}
You will follow these same steps for Sandbox and Live mode. Be sure to create API keys for both modes so you can test checkout and then take live payments from real customers
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.northcommerce.com/north-commerce/payment-gateways-and-merchants/paypal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
