# 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

* [ ] Under settings in the Mechanic app setup a new webhook. You'll give the webhook a name (PayPal) and a topic (user/payppal/ipn) as shown below.
* [ ] One you click save you'll have **copy the webhook URL** which you'll need to configure PayPal to send your transactions.

<figure><img src="https://3145272362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrnkixbmVHvKHMwAbm%2Fuploads%2Fgit-blob-b0c481d5b454f16a400fa705bed9920066100b7a%2Fimage.png?alt=media" alt=""><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%20(31).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>
