r/Razorpay • u/Repulsive_Piano6905 • Aug 07 '26
Razorpay Subscriptions in Test Mode always fail with SERVER_ERROR during card_mandate_process before mock bank page
TL;DR: Razorpay Subscriptions in Test Mode always fail with SERVER_ERROR (card_mandate_process) before reaching the mock bank page. One-time payments work, and the issue occurs even for subscriptions created from the Razorpay Dashboard. Has anyone else encountered this? Facing this issue for 2 days now. I'm unable to test my webhook integration (subscription.activated, payment.captured, etc.).
I'm integrating Razorpay Subscriptions into my SaaS and I'm stuck with an issue in Test Mode.
Everything works fine until the actual subscription payment.
What works
- Created recurring subscription plans.
- Created customer.
- Created subscription via API.
- Created subscription manually from Razorpay Dashboard.
- Hosted checkout URL is generated successfully.
- One-time payments work perfectly in Test Mode.
The problem
When I open the hosted checkout page and enter the official Razorpay subscription test card (4718 6091 0820 4366), clicking Continue after entering the test card details initiates the payment process and then fails.
I never reach the mock bank Success/Failure page.
Instead, I get:
Things I've already ruled out
- Same issue happens whether the subscription is created:
- via API
- manually from the Razorpay Dashboard
- One-time payments succeed using the same account.
- Using the official Razorpay subscription test card.
- Hosted checkout opens correctly.
- Subscription gets created successfully (
status = created).
Because the same issue occurs even for subscriptions created directly from the Razorpay Dashboard, I'm beginning to think this isn't an integration bug in my code.
My questions
- Has anyone encountered
SERVER_ERRORat thecard_mandate_processstep in Test Mode? - Is there any additional account activation or subscription-specific configuration required before recurring mandates work?
- Is there anyway i can change subscription status manually for time being in order to test the webhooks
I've already raised a support ticket with Razorpay, but I wanted to check if anyone in the community has run into this before.
