Skip to main content
  • 1. Build Integration: Install and configure the Razorpay Direct - Credit Card plugin.
  • 2. Test Integration: Test the integration by making a test payment.
  • 3. Go-Live Checklist: Check the go-live checklist.

1. Build Integration

Install the plugin

  1. Install Razorpay Direct - Credit Card from the Shopify app store.
Handy TipsIf you have multiple stores, select the store for which you want to install the Razorpay Direct - Credit Card.
  1. You will be redirected to the Shopify home screen. Click Install app.
  2. You will be redirected to a landing page. Click I am an existing user and log in to your Razorpay account.
Handy Tips
  • Ensure you log in with owner credentials to connect Razorpay with Shopify successfully.
  • If you are a new Razorpay user, click I am new to Razorpay and set up an account.
    1. Click Activate Razorpay Direct - Credit Card on the activation screen on your Shopify Dashboard.
    Razorpay Direct - Credit Card Plugin now appears as a payment method on your Shopify Store.
Handy Tips
  • Webhooks is auto-configured. You need to verify if webhooks are enabled on your Dashboard.
  • The order.paid, payment.authorized, refund.processed and refund.failed events are auto-configured. You do not have to configure it on the Dashboard.

2. Test Integration

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

Test Transaction in Test Mode

Follow the steps given below to test a transaction in test mode:
  1. Log in to your Shopify store.
  2. Navigate to SettingsPayments.
  3. Click Manage on the Razorpay Direct - Credit Card app.
  4. At the bottom of the page, select the Enable test mode check box and click Save.
  5. On your Shopify store, add an item to your cart and click Buy it now.
  6. Fill in your contact and shipping details and click Continue to shipping.
  7. Select the Shipping method and click Continue to payment.
  8. Select Credit card and enter the card details.
  9. Click Pay now and complete the order.

Verify Payment Status

You can track the payment status from the Razorpay Dashboard or poll our APIs. Poll Payment APIs to check the payment status.

3. Go-live Checklist

Follow these steps before taking the integration live:

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.
  2. Navigate to SettingsPayments.
  3. On the Supported payment methods section, click Manage on the Razorpay Direct - Credit Card app.
  4. At the bottom of the page, clear the Enable test mode check box and click Save.
You can now start accepting actual payments on your Shopify store.

Refunds

Initiate Refunds

To initiate refunds using Shopify store:
1

Step 1

Log in to the Shopify account.
2

Step 2

After a payment is completed, navigate to Orders.
3

Step 3

Select the order you want to initiate a refund.
4

Step 4

Click Refund.
5

Step 5

Select the quantity of the item and click Refund.
6

Step 6

You can either issue a full refund or a partial refund.
  • For a full refund, enter the entire payment amount.
  • For a partial refund, enter a value lesser than the payment amount.
7

Step 7

You can verify the refund status from the Dashboard. Navigate to TransactionsRefunds and check if a Refund Id is generated for the relevant Payment Id.

Support

If you have queries, raise a ticket on the Razorpay Support Portal.