razorpay / razorpay/razorpay-node
Subscription cancellation with options doesn't work.
Open
@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
- Create a subscription.
- Pass
{ cancel_at_cycle_end: 1 }as options to thecancelfunction.
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.