> For the complete documentation index, see [llms.txt](https://learn.mechanic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.mechanic.dev/faq/how-do-i-connect-paypal-to-shopify-with-mechanic.md).

# How do I connect PayPal to Shopify with Mechanic?

To integrate PayPal transactions into your Shopify orders, leverage the [Import PayPal transactions as Shopify orders](https://tasks.mechanic.dev/import-paypal-transactions-as-shopify-orders) Mechanic task. Follow the steps provided to seamlessly connect the two platforms. :heart:

### 1. Setup a Mechanic webhook that PayPal can send your transactions to

* [ ] In Mechanic settings, create a new webhook. Give the webhook a name (`PayPal`) and a topic (`user/paypal/ipn`), as shown below.
* [ ] After saving, **copy the webhook URL**. You'll need it when configuring PayPal to send transactions to Mechanic.

<figure><img src="https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fgit-blob-67a070cd85b5e7b340afa158b4ae53e29c3439f8%2Fmechanic-webhooks.png?alt=media" alt="The Mechanic webhooks section in Settings, where a webhook can be created for PayPal IPN deliveries"><figcaption></figcaption></figure>

### 2. Setup PayPal to send you transactions to Mechanic

* [ ] Next, log in to your PayPal account and use [this link](https://www.paypal.com/merchantnotification/ipn/preference) to jump to the Instant Payment Notification (IPN) settings screen.\\

  <figure><img src="https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fgit-blob-4a7b69de13c74c21b9b06b481b49249d0f1b1c67%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
* [ ] Click the Choose IPN Settings button and then paste in your Mechanic webhook URL from Step 1 and choose the option to Receive IPN Messages and click Save.\\

  <figure><img src="https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fgit-blob-3cef34a8a8c185ae72947283be358abef747bf2f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### 3. Install and configure the Mechanic task

* [ ] Install the task: <https://tasks.mechanic.dev/import-paypal-transactions-as-shopify-orders>
* [ ] Configure the task to taste and save :) Here's a sample configuration:

  <figure><img src="https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fgit-blob-c0be20ae0f322d6b640dcecdf2a31fb7611103be%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://learn.mechanic.dev/faq/how-do-i-connect-paypal-to-shopify-with-mechanic.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
