Skip to content

Conversation

@deadtik
Copy link

@deadtik deadtik commented Jan 29, 2026

Description

Resolves #282 and #224.

The official Razorpay documentation refers to subscription.update(), but the Python SDK only implemented subscription.edit(). This caused AttributeError for developers following the docs.

Changes

  • Added an alias update = edit in Subscription class.
  • Preserved edit() for backward compatibility.

Verification

  • Verified locally that subscription.update calls subscription.edit correctly.

@deadtik
Copy link
Author

deadtik commented Jan 29, 2026

Hi team, the BVT Workflow is failing because of the missing label. Since I don't have permission to add labels, could you please tag this as TestingNotRequired? I have verified the alias works locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong naming of update method on docs and implementation.

1 participant