razorpay / razorpay/razorpay-node

Getting error while updating an active subscription

Open
#409 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
243
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I have created a subscription it is in active state and I want to update the quantity of it. The API is in test mode.

The API gives an error
{ "error": { "code": "BAD_REQUEST_ERROR", "description": "Can't update subscription immediately when card mandate is applicable" } }

What should be done to solve this error?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified. Start by reproducing the active-subscription quantity update in test mode and trace how the Node.js binding sends that request; done means the cause of the card-mandate error and the supported resolution are established and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.