# 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="/files/YXG0A1KurEoydLKYJ1i2" 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="/files/BKz3XV3GS8STOsMx91gg" 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="/files/oHGOetOazgLzsFnX8g7Q" 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="/files/9SyYcb8oZ8AGwiiHtkwq" alt=""><figcaption></figcaption></figure>


---

# 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://learn.mechanic.dev/faq/how-do-i-connect-paypal-to-shopify-with-mechanic.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.
