- Sign up for Razorpay account
- Sign up for a Shopify account.
- 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:- Log in to Shopify store.
- Navigate to Settings → Payments.
- Click Manage on the Razorpay - Cash on Delivery app on the Supported payment methods section.
- Select Enable test mode and click Save.
2.2 Make a Test Payment
- Click Buy it now.
- Fill in your Contact and Delivery details. Select Cash on Delivery as Payment method and select Billing address.
- 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- Log in to the Dashboard and navigate to Transactions → Payments.
- Check if a
payment_IDhas been generated and note the status. In case of a successful payment, the status is marked ascaptured.
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:- Log in to your Shopify store.
- Navigate to Settings → Payments.
- On the Supported payment methods section, click Manage on the Razorpay - Cash on Delivery app.
- Clear Enable test mode and click Save.