Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

Razorpay INVALID_CURRENCY_ERROR

The currency specified in the transaction is not supported.

Understanding Razorpay: A Leading Payment Gateway

Razorpay is a comprehensive payment gateway solution designed to facilitate seamless online transactions. It supports a wide range of payment methods, including credit/debit cards, net banking, UPI, and various wallets, making it a popular choice for businesses looking to integrate payment solutions into their applications.

Identifying the Symptom: INVALID_CURRENCY_ERROR

When integrating Razorpay into your application, you might encounter the INVALID_CURRENCY_ERROR. This error typically manifests when a transaction is attempted with a currency that Razorpay does not support, or when the currency is incorrectly specified in the API request.

Exploring the Issue: What Causes INVALID_CURRENCY_ERROR?

The INVALID_CURRENCY_ERROR is triggered when the currency code in your transaction request is either not supported by Razorpay or is incorrectly formatted. Razorpay supports a specific set of currencies, and any deviation from this list can result in this error.

Common Causes

  • Using a currency code that is not supported by Razorpay.
  • Typographical errors in the currency code.
  • Incorrect API request format.

Steps to Fix the INVALID_CURRENCY_ERROR

To resolve the INVALID_CURRENCY_ERROR, follow these actionable steps:

Step 1: Verify Supported Currencies

Ensure that the currency you are using is supported by Razorpay. You can find the list of supported currencies in the Razorpay Documentation.

Step 2: Check Your API Request

Review your API request to ensure that the currency code is correctly specified. The currency code should be in ISO 4217 format (e.g., INR for Indian Rupee, USD for US Dollar).

Step 3: Update Your Code

If you find any discrepancies in the currency code, update your code accordingly. Here is an example of how to specify the currency in a Razorpay API request:

{
"amount": 50000,
"currency": "INR",
"receipt": "rcptid_11"
}

Conclusion

By ensuring that the currency code is correctly specified and supported by Razorpay, you can effectively resolve the INVALID_CURRENCY_ERROR. For further assistance, refer to the Razorpay API Documentation or contact Razorpay support for more personalized help.

Master 

Razorpay INVALID_CURRENCY_ERROR

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

🚀 Tired of Noisy Alerts?

Try Doctor Droid — your AI SRE that auto-triages alerts, debugs issues, and finds the root cause for you.

Heading

Your email is safe thing.

Thank you for your Signing Up

Oops! Something went wrong while submitting the form.

MORE ISSUES

Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid