How to determine the subscription end date if a user cancels their subscription?
kenansd
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-15-2021
07:47 AM
When I query the subscription details https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_get there is a start_time and a next_billing_time provided. If a user hard cancels, we would like to provide our service to the user for the remainder of the subscription term. For example, if a user purchases a monthly subscription, uses the service for 3 months, and then cancels at the start of the 4th month they should continue to get access to our service until the 4th month is complete. What is the preferred way to determine the date the subscription should end? Is it required to calculate the end date from the start_time and the number of cycles completed? Or is there another method to determine this date?
If calculating the end date from the cycles_completed and the start time, is it effective to use 30 days as the monthly term duration or is a different calculation required?
Similarly is there a way to determine the start date for the current cycle?
Labels:
- Labels:
-
Subscriptions
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- I want to implement subscription functionality. in REST APIs
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs
- Subscription notifications in PayPal Reporting
- Mandatory Account Creation Hindering Customer Experience in REST APIs