# Shopify

## Configuration

Integrate Shopify with either an OFFSITE or ONSITE setup. The OFFSITE integration redirects customers to a hosted payment page to complete their purchase, while the ONSITE integration keeps them on your site.

### OFFSITE Setup

1. **Install the app - Shopify Settings**
   * Go to **Payments**
   * Click **Search by Provider**
   * Search for **“Merrco Payments”**
   * Select **Merrco Payments** and click **Activate and Connect**
2. **Connect to PayHQ**
   * Open the **Merrco Payments** app settings
   * Enter your **PayHQ login credentials**
   * Enable both **Capture Billing** and **Shipping Address**
   * Click **Activate**

### ONSITE Setup

To install the ONSITE application, click the link below. After installation, log in with your PayHQ credentials to connect your account.

[Merrco Paymants - Onsite](https://apps.shopify.com/merrco-payments-onsite)


---

# 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://developer.payfirma.com/integrations/shopify.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.
