#MuttakinHasib-subscriptions

1 messages · Page 1 of 1 (latest)

tribal copper
#

Hello! Your question right now is a bit vague - what specifically are you having issues with?

upbeat gyro
#

We have a monthly subscription plan. We want users to be able to renew their subscription when the monthly subscription expires. For this reason I want to create an API so that users can renew their subscription. How do I implement this API with nodejs?

#

@tribal copper

tribal copper
#

Well if the Subscription has already been cancelled, then you need to create a new Subscription (we don't allow you to restart them once they've been cancelled)

upbeat gyro
#

@tribal copper If they do not cancel the subscription after it expires, will it auto charge?

tribal copper
#

Backing up here - what specifically do you mean by "Expire"? Our API has no concept of subscription expiration, so I'm not quite sure what you mean here

upbeat gyro
#

like subscription period

tribal copper
#

Once a subscription is at the end of the period it would just renew though - is that what you're referring to?

upbeat gyro
#

For example, I select a 1 month premium plan for $10 to use a service and it expires after 1 month and I have to renew for another month with $10.

tribal copper
#

The way our subscriptions work, we'd just auto-renew the subscription after one month and charge them another $10 automatically - there's no additional action you'd need to take

upbeat gyro
#

If their credit card expired?

tribal copper
#

If their credit card is expired we'd attempt payment, but it would fail - the subscription would transition into a "past_due" state at that point - you'd just have your customer come back to provide a new payment method and update the subscription to use that

upbeat gyro
tribal copper
#

That's what I explained - you'd bring your customer back online to collect new payment method information from them and you'd update the Customer/Subscription in Stripe so we'll use the new information to charge them

upbeat gyro
#

I added a button ‘’manage your billing information.’’

tribal copper
#

👍 awesome! that's exactly what you need

#

I need to head out, but @torn zenith can help with any of your other questions

upbeat gyro
#

Thank you, @tribal copper