FAQs & Troubleshooting
Common questions and solutions for the Razorpay n8n Community Node.
The Razorpay n8n Community Node connects Razorpay APIs with the n8n workflow automation platform. It enables you to automate payment operations, build no-code workflows and connect payments with 400+ other services. The node is officially maintained by Razorpay and is open-source.
View
.Yes. You need an active Razorpay account and API keys. There are two types of API keys:
- Test Mode (
rzp_test_*): Free, no KYC needed, for development. - Live Mode (
rzp_live_*): Requires completed KYC, for production.
Generate keys from
→ Account & Settings → API Keys.Start with test mode for safe development.
View
to know about the available operations.Currently, the node uses a polling approach to monitor payment events. You can set up automated workflows using the Cron node to check for new payments at regular intervals:
Polling Workflow:
Cron (every 5 min) → Fetch Payments (last 5 min) → IF (new payments exist) → Process payments
Implementation Steps:
- Add Cron node (set interval: every 2-5 minutes).
- Add Razorpay node (Fetch All Payments operation).
- Use date filters:
from= last check time,to= now. - Add IF node to check if results exist.
- Process new payments in subsequent nodes.
This approach provides near real-time monitoring (2-5 minute delay) and works reliably for most use cases.
Critical: Razorpay requires amounts in paise (smallest currency unit).
Conversion:
- ₹1 = 100 paise
- ₹100 = 10,000 paise
- ₹1,500 = 150,000 paise
Example: To create a ₹500 Payment Link, use amount: 50000.
Use count (max 100) and skip parameters:
Example - Fetch 300 Payments:
- Page 1:
count: 100, skip: 0 - Page 2:
count: 100, skip: 100 - Page 3:
count: 100, skip: 200
Implementation:
- Use Loop Over Items or Split in Batches node.
- Increment
skipby 100 each iteration. - Add Wait node (1-2 sec) between pages to avoid rate limits.
Testing Steps:
- Use Test Mode:
- Create a credential with test keys (
rzp_test_*). - Use .
- No real money involved.
- Create a credential with test keys (
- Test in n8n:
- Click Execute Workflow.
- Verify each node output.
- Check for errors.
- Go Live:
- Create a separate production workflow.
- Use live keys (
rzp_live_*). - Test with small amounts first.
- Monitor execution logs.
Always test thoroughly in test mode before production.
Troubleshooting Steps:
- Verify Installation.
npm list @razorpay/n8n-nodes-razorpay
- Restart n8n:
pm2 restart n8n # or systemctl restart n8n
- Enable Community Nodes:
- Settings → Community Nodes → Toggle ON
- Clear Browser Cache.
- Check Version: Minimum n8n v1.104.2
n8n --version
Common Causes:
- Incorrect Key id or Secret (typos, spaces).
- Keys regenerated in Dashboard (old keys invalid).
- Wrong environment (test keys with live data or vice versa).
Fix:
- Verify keys in Razorpay Dashboard → Account & Settings → API Keys.
- In n8n, go to Settings → Credentials.
- Edit your Razorpay credentials and update both Key and Secret.
- Ensure no leading/trailing spaces.
- Test connection.
Still failing? Generate new keys and try again.
Common Causes:
- Missing required fields (amount, currency for Payment Links).
- Wrong amount format (rupees instead of paise).
- Invalid field values.
Fix:
- Check the error message for the specific field name.
- Verify required parameters:
- Create Payment Link: amount (paise), currency required.
- Amount must be an integer in paise: ₹100 = 10000.
- Check for required fields.
Example: For ₹1,500 Payment Link, use amount: 150000, not 1500.
Common Causes:
- Incorrect id format or value.
- Resource in a different environment (test vs live).
- Resource from a different Razorpay account.
Fix:
- Verify id format:
- Payment:
pay_*. - Order:
order_*. - Refund:
rfnd_*. - Payment Link:
plink_*.
- Payment:
- Ensure API keys match resource environment (test/live).
- Copy id directly from Dashboard or previous workflow output.
Common Causes:
- Too many API calls in a short period.
- Polling interval too short.
- Multiple workflows hitting the same endpoints.
Fix:
- Add Wait node (1-2 seconds) between operations.
- Use Split in Batches for bulk operations.
- Increase polling interval (5-10 minutes instead of 1 minute).
- Use pagination: Fetch max 100 items per request.
- Contact Razorpay support for higher limits if needed.
Common Mistakes:
- Entering amount in rupees instead of paise.
- Not rounding decimal values.
- Currency mismatch.
Examples:
- ₹1 → 100 paise
- ₹100 → 10,000 paise
- ₹1,250.75 → 125,075 paise (rounded to 125,075)
Common Causes:
- Fetching too much data without pagination.
- Network connectivity issues.
- API is experiencing high load.
Fix:
- Use Pagination:
- Fetch max 100 items per request.
- Use
countandskipparameters.
- Increase Timeout: Adjust workflow timeout in n8n settings.
- Check Network: Verify connectivity to
api.razorpay.com. - Add Retry Logic: Use Error Trigger node to catch and retry failures.
Common Causes:
- Filters too restrictive (no matching records).
- Wrong environment (test keys with live data or vice versa).
- Date range excludes all records.
- Missing expand parameter for nested data.
Fix:
- Widen Filters: Check
fromandtodate ranges. - Verify Environment: Test keys only see test data, live keys only see live data.
- Use Expand: Add
expand[]parameter for nested objects (for example,expand[]=card). - Test in Dashboard: Verify data exists in the Razorpay Dashboard with the same filters.
Was this page helpful?
ON THIS PAGE