razorpay / razorpay/razorpay-node

Subscription cancellation with options doesn't work.

Open
#325 6 comments 0 reactions 1 assignee View on GitHub

@ankitdas13 is already working on this.

Since Nov 30, 2022.

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

Description

Steps to reproduce the behavior
  1. Create a subscription.
  2. Pass { cancel_at_cycle_end: 1 } as options to the cancel function.
Expected behavior

The subscription should have been cancelled at the end of the cycle rather than getting cancelled immediately.

Actual behavior

Subscription gets cancelled immediately.

Code snippets

No response

Node version

v16.14.2

Library version

v2.8.4

Additional Information

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.