razorpay

How to test Razorpay Subscriptions in Test Mode?


I am building a Razorpay Subscription Flow. But for that, I have to test the functionality for development purposes. It is not accepting the cards as given in the Razorpay Test Cards. It is showing the error This card does not support recurring payments.

enter image description here

In such a situation, how can I test this functionality?

Your help will be highly appreciated.


Solution

  • Recently I encountered the same alert while integrating razorpay subscription feature for one of my client and after spending a lot of time I came to know the problem is not at razorpay end, but RBI has given new mandate for domestic recurring payments.

    Please look into this article from razorpay for details.

    https://razorpay.com/docs/payments/subscriptions/test/

    I have cross checked and verified with razorpay team too.

    Also for now you can enable UPI payment for subscription feature from razorpay dashboard, as it works fine and card payment would be enabled once all banks will follow the new guidelines.

    Hope it would be helpful for you.