razorpay / razorpay/razorpay-node

No way to check if a subscription will been cancelled at the end of billing cycle

Open
#330 0 comments 2 reactions 1 assignee View on GitHub

@ankitdas13 is already working on this.

Since Apr 10, 2023.

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

Description

Steps to reproduce the behavior
  1. Cancel a subscription using API or from dashboard (cancel at end of current billing cycle)
  2. Fetch subscription via API or view subscription on dashboard
Expected behavior

Both the API and dashboard should tell if the subscription is scheduled to be cancelled at the end of billing cycle

Actual behavior

There's no field that tells the subscription is scheduled to be cancelled at the end of billing cycle.
On top of that I can cancel the same subscription again and again.

Code snippets

No response

Node version

16.4.2

Library version

2.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.