> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration Steps

> **WARN**

**Watch Out!**

This is an on-demand feature. Write to us at [magic-checkout-support@razorpay.com](mailto:magic-checkout-support@razorpay.com) to integrate Razorpay - Cash on Delivery with your Shopify website.

**Before you proceed:**

* Sign up for [Razorpay account](https://dashboard.razorpay.com/signup)

* Sign up for a [Shopify account](https://www.shopify.in).

Follow the steps given below to integrate your Shopify website with the Razorpay - Cash on Delivery plugin.

* **1. Build Integration**: Install and configure the Shopify COD plugin.

* **2. Test Integration**: Test the integration by making a test payment.

* **3. Go-Live Checklist**: Check the go-live checklist.

## 1. Build Integration

Follow the steps given below:

### 1.1 Integration Steps

## 2. Test Integration

After the integration is complete, follow the steps given below:

### 2.1 Enable Test Mode in Shopify Dashboard

After the integration is complete, you need to ensure the integration is working as expected. You can start accepting actual payments once the test mode transaction is successful.

Follow the steps given below to test a transaction:

1. Log in to [Shopify store](https://accounts.shopify.com/lookup?rid=f19e1541-cd24-4856-a398-156d2ed5d56f).

2. Navigate to **Settings** → **Payments**.

3. Click **Manage** on the Razorpay - Cash on Delivery app on the **Supported payment methods** section.

4. Select **Enable test mode** and click **Save**.

### 2.2 Make a Test Payment

1. Click **Buy it now**.

2. Fill in your **Contact** and **Delivery** details.

   Select **Cash on Delivery** as Payment method and select **Billing address**.

3. Click **Pay now** and the order is placed.

### 2.3 Verify Payment Status

You can track the payment status from the Razorpay Dashboard, subscribe to the Webhook event or poll our APIs.

**Verify Payment Status From Dashboard**

1. Log in to the Dashboard and navigate to **Transactions** → **Payments**.
2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.

## 3. Go-live Checklist

Follow these steps before taking the integration live:

### 3.1 Switch from Test mode to Live mode

You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the installation and integration is working as expected, switch to the Live Mode and start accepting payments from customers.

To switch from **Test Mode** to **Live Mode**:

1. Log in to your [Shopify store](https://accounts.shopify.com/lookup?rid=f19e1541-cd24-4856-a398-156d2ed5d56f).

2. Navigate to **Settings** → **Payments**.

3. On the **Supported payment methods** section, click **Manage** on the **Razorpay - Cash on Delivery** app.

4. Clear **Enable test mode** and click **Save**.

You can now start accepting actual payments on your Shopify store.

## Support

Queries: If you have queries, raise a ticket on the [Razorpay Support Portal](https://razorpay.com/support/)

### Related Information

[Shopify - 1 Razorpay](/payments/payment-gateway/ecommerce-plugins/shopify)
